diff options
author | David Walter Seikel | 2012-01-23 23:30:42 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-23 23:30:42 +1000 |
commit | 825a3d837a33f226c879cd02ad15c3fba57e8b2c (patch) | |
tree | 75f57bd9c4253508d338dc79ba8e57a7abc42255 /libraries/eina/src/lib/eina_strbuf.c | |
parent | Add ability to disable the test harness, or the Lua compile test. (diff) | |
download | SledjHamr-825a3d837a33f226c879cd02ad15c3fba57e8b2c.zip SledjHamr-825a3d837a33f226c879cd02ad15c3fba57e8b2c.tar.gz SledjHamr-825a3d837a33f226c879cd02ad15c3fba57e8b2c.tar.bz2 SledjHamr-825a3d837a33f226c879cd02ad15c3fba57e8b2c.tar.xz |
Update the EFL to what I'm actually using, coz I'm using some stuff not yet released.
Diffstat (limited to 'libraries/eina/src/lib/eina_strbuf.c')
-rw-r--r-- | libraries/eina/src/lib/eina_strbuf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/eina/src/lib/eina_strbuf.c b/libraries/eina/src/lib/eina_strbuf.c index 74b1eb9..828d842 100644 --- a/libraries/eina/src/lib/eina_strbuf.c +++ b/libraries/eina/src/lib/eina_strbuf.c | |||
@@ -162,9 +162,9 @@ eina_strbuf_insert_vprintf(Eina_Strbuf *buf, | |||
162 | EAPI void | 162 | EAPI void |
163 | eina_strbuf_trim(Eina_Strbuf *buf) | 163 | eina_strbuf_trim(Eina_Strbuf *buf) |
164 | { | 164 | { |
165 | char *c = buf->buf; | 165 | unsigned char *c = buf->buf; |
166 | 166 | ||
167 | while (buf->len > 0 && isspace(((unsigned char*)(buf->buf))[buf->len - 1])) | 167 | while (buf->len > 0 && isspace(c[buf->len - 1])) |
168 | buf->len--; | 168 | buf->len--; |
169 | while (buf->len > 0 && isspace(*c)) | 169 | while (buf->len > 0 && isspace(*c)) |
170 | { | 170 | { |
@@ -178,7 +178,7 @@ eina_strbuf_trim(Eina_Strbuf *buf) | |||
178 | EAPI void | 178 | EAPI void |
179 | eina_strbuf_ltrim(Eina_Strbuf *buf) | 179 | eina_strbuf_ltrim(Eina_Strbuf *buf) |
180 | { | 180 | { |
181 | char *c = buf->buf; | 181 | unsigned char *c = buf->buf; |
182 | 182 | ||
183 | while (buf->len > 0 && isspace(*c)) | 183 | while (buf->len > 0 && isspace(*c)) |
184 | { | 184 | { |