From: havoc Date: Sun, 23 Mar 2008 20:21:03 +0000 (+0000) Subject: reenable the \r parsing for consistency sake X-Git-Tag: xonotic-v0.1.0preview~2303 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=commitdiff_plain;h=0ed63f148452cbf07c45f339cfb8255827e67950 reenable the \r parsing for consistency sake git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8225 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/prvm_edict.c b/prvm_edict.c index 9486051e..226d5239 100644 --- a/prvm_edict.c +++ b/prvm_edict.c @@ -936,6 +936,11 @@ qboolean PRVM_ED_ParseEpair(prvm_edict_t *ent, ddef_t *key, const char *s, qbool i++; *new_p++ = '\n'; } + else if (s[i] == '\\' && i < l-1 && s[i] == 'r' && parsebackslash) + { + i++; + *new_p++ = '\r'; + } else *new_p++ = s[i]; }