diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2016-01-09 15:04:08 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2016-01-09 15:04:08 +0000 |
commit | 70e771e0f5e484df09bf53602eeb1cab3171cb60 (patch) | |
tree | df7b19f670e3c02e37c7ba9fafc1ad6a0c145867 /plugins | |
parent | 94388890dd4d32d26d35bf46324d03ff79b57e60 (diff) |
vs2010 compilation fix (?)
git-svn-id: http://svn.miranda-ng.org/main/trunk@16068 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/MirLua/Modules/JSON/src/json.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/MirLua/Modules/JSON/src/json.c b/plugins/MirLua/Modules/JSON/src/json.c index 8818e0d7fe..dd7c864f70 100644 --- a/plugins/MirLua/Modules/JSON/src/json.c +++ b/plugins/MirLua/Modules/JSON/src/json.c @@ -230,9 +230,8 @@ decode_string(lua_State *L, char **s) break;
case 'u':
code2utf8(L, (unsigned char *)(*s) + 2, utfbuf);
- size_t tmplen = strlen(utfbuf);
strcpy(newc, utfbuf);
- newc += tmplen;
+ newc += strlen(utfbuf);
(*s) += 6;
break;
default:
|