Commit 95081efd authored by Jody Goldberg's avatar Jody Goldberg Committed by Jody Goldberg

http://bugzilla.gnome.org/show_bug.cgi?id=69362 only upper case things if

2002-02-19  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=69362
	* src/auto-correct.c (autocorrect_tool) : only upper case things if
	  they are at the start of a word.
parent 3f9a70f7
......@@ -8,7 +8,6 @@ Release Critical
----------------
http://bugzilla.gnome.org/show_bug.cgi?id=71551
http://bugzilla.gnome.org/show_bug.cgi?id=69362 (fix and backport)
1.2 Targets
-----------
......
2002-02-19 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=69362
* src/auto-correct.c (autocorrect_tool) : only upper case things if
they are at the start of a word.
2002-02-19 Morten Welinder <terra@diku.dk>
* src/format.c: Use gnum_float instead of double.
......
2002-02-19 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=69362
* src/auto-correct.c (autocorrect_tool) : only upper case things if
they are at the start of a word.
2002-02-19 Morten Welinder <terra@diku.dk>
* src/format.c: Use gnum_float instead of double.
......
2002-02-19 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=69362
* src/auto-correct.c (autocorrect_tool) : only upper case things if
they are at the start of a word.
2002-02-19 Morten Welinder <terra@diku.dk>
* src/format.c: Use gnum_float instead of double.
......
......@@ -187,13 +187,11 @@ autocorrect_tool (char const *command)
for (i = 0; day_long[i] != NULL; i++) {
char const *day = _(day_long [i]) + 1;
s = ucommand;
loop :
s = (unsigned char *)strstr ((char *)s, day);
if (s != NULL) {
if (s > ucommand)
while (NULL != (s = (unsigned char *)strstr ((char *)s, day))) {
if (s > ucommand &&
(s-1 == ucommand || isspace (s[-2])))
s[-1] = toupper (s[-1]);
s++;
goto loop;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment