r16686 by jghali - #10062: Deleting last text character causes crash

scribus-commit scribus-commit at lists.scribus.net
Tue Jun 21 05:11:46 UTC 2011


Author: jghali
Date: Tue Jun 21 05:11:45 2011
New Revision: 16686

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=16686
Log:
#10062: Deleting last text character causes crash

Modified:
    branches/Version135/Scribus/scribus/pageitem_textframe.cpp

Modified: branches/Version135/Scribus/scribus/pageitem_textframe.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=16686&path=/branches/Version135/Scribus/scribus/pageitem_textframe.cpp
==============================================================================
--- branches/Version135/Scribus/scribus/pageitem_textframe.cpp (original)
+++ branches/Version135/Scribus/scribus/pageitem_textframe.cpp Tue Jun 21 05:11:45 2011
@@ -3110,7 +3110,7 @@
 			keyRepeat = false;
 			return;
 		}
-		cr = itemText.text(1);
+		cr = itemText.text();
 		if (itemText.lengthOfSelection() == 0)
 		{
 			itemText.select(itemText.cursorPosition(), 1, true);




More information about the scribus-commit mailing list