changeset 47965:1099445a76d0

(casify_region): Don't treat a prefix char as part of a word when at the beginning.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 21 Oct 2002 21:03:00 +0000
parents 0b4e63803c24
children 85dbcc2c6739
files src/casefiddle.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/casefiddle.c	Mon Oct 21 07:16:19 2002 +0000
+++ b/src/casefiddle.c	Mon Oct 21 21:03:00 2002 +0000
@@ -227,7 +227,7 @@
       if (c != c2)
 	changed = 1;
       if ((int) flag >= (int) CASE_CAPITALIZE)
-	inword = SYNTAX (c) == Sword;
+	inword = SYNTAX (c) == Sword && (inword || !SYNTAX_PREFIX (c));
     }
   if (i < end_byte)
     {