r7189 - trunk/darkplaces

divverent at icculus.org divverent at icculus.org
Wed Apr 25 03:18:27 EDT 2007


Author: divverent
Date: 2007-04-25 03:18:16 -0400 (Wed, 25 Apr 2007)
New Revision: 7189

Modified:
   trunk/darkplaces/common.c
   trunk/darkplaces/common.h
   trunk/darkplaces/prvm_cmds.c
Log is attached.
fix strlennocol/strdecolorize on unusual strings like "foo^";
now strlennocol returns the visible width (like before) and strdecolorize
returns a string that can be safely printed and that looks like the original,
just without the colors.

Moved decolorizing and counting to common.c.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 20070425.071827.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20070425/93c0ee94/attachment.diff>


More information about the twilight-commits mailing list