summaryrefslogtreecommitdiff
path: root/src/common/strlib.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-25 22:07:46 +0300
committerGitHub <noreply@github.com>2016-06-25 22:07:46 +0300
commit5f4c452cdf22f5625b61004ed0e92816b0175ea1 (patch)
tree1b766d21645ff064e57e366d807497f58d4f0a2d /src/common/strlib.c
parent98da34f0c6785a4227efa0f6718a7453e2991202 (diff)
parenta8590a0b235ce48320d428a184181c1e93267cd6 (diff)
downloadhercules-5f4c452cdf22f5625b61004ed0e92816b0175ea1.tar.gz
hercules-5f4c452cdf22f5625b61004ed0e92816b0175ea1.tar.bz2
hercules-5f4c452cdf22f5625b61004ed0e92816b0175ea1.tar.xz
hercules-5f4c452cdf22f5625b61004ed0e92816b0175ea1.zip
Merge pull request #1292 from HerculesWS/huld-improvements
HULD improvements
Diffstat (limited to 'src/common/strlib.c')
-rw-r--r--src/common/strlib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/strlib.c b/src/common/strlib.c
index 9690151b4..b67adb63c 100644
--- a/src/common/strlib.c
+++ b/src/common/strlib.c
@@ -772,6 +772,7 @@ size_t sv_escape_c(char* out_dest, const char* src, size_t len, const char* esca
case '\v': out_dest[j++] = 'v'; break;
case '\f': out_dest[j++] = 'f'; break;
case '\?': out_dest[j++] = '?'; break;
+ case '\"': out_dest[j++] = '"'; break;
default:// to octal
out_dest[j++] = '0'+((char)(((unsigned char)src[i]&0700)>>6));
out_dest[j++] = '0'+((char)(((unsigned char)src[i]&0070)>>3));