diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2009-03-22 19:21:34 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2009-03-22 19:21:34 +0000 |
| commit | f5d5c97312eda092656cab465d2c55c27a3200ea (patch) | |
| tree | 630d6548ebcd8aedf48ba043929f630ff42a9a81 /src/fl_utf.c | |
| parent | d75f9a6b93d483bf41a33d1faad25c288cbdc560 (diff) | |
fixed a typo
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6712 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_utf.c')
| -rw-r--r-- | src/fl_utf.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/fl_utf.c b/src/fl_utf.c index 18355f428..327cbe946 100644 --- a/src/fl_utf.c +++ b/src/fl_utf.c @@ -211,8 +211,8 @@ unsigned fl_utf8decode(const char* p, const char* end, int* len) \e start is the start of the string and is used to limit the backwards search for the start of a utf8 character. - \e end is the end of the string and is assummed to be a break - between characters. It is assummed to be greater than p. + \e end is the end of the string and is assumed to be a break + between characters. It is assumed to be greater than p. This function is for moving a pointer that was jumped to the middle of a string, such as when doing a binary search for @@ -247,8 +247,8 @@ const char* fl_utf8fwd(const char* p, const char* start, const char* end) \e start is the start of the string and is used to limit the backwards search for the start of a UTF-8 character. - \e end is the end of the string and is assummed to be a break - between characters. It is assummed to be greater than p. + \e end is the end of the string and is assumed to be a break + between characters. It is assumed to be greater than p. If you wish to decrement a UTF-8 pointer, pass p-1 to this. */ @@ -655,7 +655,7 @@ int fl_utf8locale(void) { ret = GetACP() == CP_UTF8; #else char* s; - ret = 1; /* assumme UTF-8 if no locale */ + ret = 1; /* assume UTF-8 if no locale */ if (((s = getenv("LC_CTYPE")) && *s) || ((s = getenv("LC_ALL")) && *s) || ((s = getenv("LANG")) && *s)) { |
