]> icculus.org git repositories - divverent/darkplaces.git/commit
stringbuffers: allow "" strings, keep disallowing NULL strings.
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 9 May 2010 13:21:40 +0000 (13:21 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 9 May 2010 13:21:40 +0000 (13:21 +0000)
commit9399e2dd28d4db4dde5fc1f03af9cbf2c3aad3ac
tree23e7de1725f705db1623a845b0d65c63f0e8aa9d
parentf2f99c891d575a2982667ef1af876a4e72ca02e3
stringbuffers: allow "" strings, keep disallowing NULL strings.

Now, bufstr_set'ing an item to string_null will yield string_null on bufstr_get,
and bufstr_set'ing an item to "" will yield "" on bufstr_get.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10184 d7cf8633-e32d-0410-b094-e92efae38249
prvm_cmds.c