Revision: 2196 http://geany.svn.sourceforge.net/geany/?rev=2196&view=rev Author: ntrel Date: 2008-01-29 04:21:02 -0800 (Tue, 29 Jan 2008)
Log Message: ----------- Allow case sensitive replace when the replace string varies only in case.
Modified Paths: -------------- trunk/ChangeLog trunk/src/search.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2008-01-28 17:27:39 UTC (rev 2195) +++ trunk/ChangeLog 2008-01-29 12:21:02 UTC (rev 2196) @@ -1,3 +1,10 @@ +2008-01-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com> + + * src/search.c: + Allow case sensitive replace when the replace string varies only + in case. + + 2008-01-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/pluginmacros.h, src/plugindata.h, plugins/*.c:
Modified: trunk/src/search.c =================================================================== --- trunk/src/search.c 2008-01-28 17:27:39 UTC (rev 2195) +++ trunk/src/search.c 2008-01-29 12:21:02 UTC (rev 2196) @@ -911,7 +911,7 @@ find = g_strdup(gtk_entry_get_text(GTK_ENTRY(gtk_bin_get_child(GTK_BIN(entry_find))))); replace = g_strdup(gtk_entry_get_text(GTK_ENTRY(gtk_bin_get_child(GTK_BIN(entry_replace)))));
- if ((response != GEANY_RESPONSE_FIND) && fl1 && (strcasecmp(find, replace) == 0)) + if ((response != GEANY_RESPONSE_FIND) && fl1 && (strcmp(find, replace) == 0)) { utils_beep(); gtk_widget_grab_focus(GTK_WIDGET(GTK_BIN(lookup_widget(widgets.replace_dialog, "entry_find"))->child));
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.