[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [55889] trunk/blender/source/blender/ editors/space_text/text_ops.c: fix [#34905] Text editor: replacing matches by empty string not allowed

Campbell Barton ideasman42 at gmail.com
Mon Apr 8 03:31:46 CEST 2013


Revision: 55889
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=55889
Author:   campbellbarton
Date:     2013-04-08 01:31:41 +0000 (Mon, 08 Apr 2013)
Log Message:
-----------
fix [#34905] Text editor: replacing matches by empty string not allowed

Modified Paths:
--------------
    trunk/blender/source/blender/editors/space_text/text_ops.c

Modified: trunk/blender/source/blender/editors/space_text/text_ops.c
===================================================================
--- trunk/blender/source/blender/editors/space_text/text_ops.c	2013-04-08 00:32:32 UTC (rev 55888)
+++ trunk/blender/source/blender/editors/space_text/text_ops.c	2013-04-08 01:31:41 UTC (rev 55889)
@@ -2907,7 +2907,7 @@
 	int found = 0;
 	char *tmp;
 
-	if (!st->findstr[0] || (mode == TEXT_REPLACE && !st->replacestr[0]))
+	if (!st->findstr[0])
 		return OPERATOR_CANCELLED;
 
 	flags = st->flags;




More information about the Bf-blender-cvs mailing list