summaryrefslogtreecommitdiff
path: root/src/game/bg_lib.c
diff options
context:
space:
mode:
authorPaweł Redman <pawel@redman.xyz>2017-04-13 11:30:00 +0000
committer/dev/humancontroller <devhc@example.com>2017-04-15 12:06:43 +0200
commit5ad9e26c3be1f2ebc6cdb340b685aef30ae16db7 (patch)
tree5ee97c52196122bd8356ad8e09403332e7712fcd /src/game/bg_lib.c
parent45973dc48641365b31475733bce7af9c3b8603a6 (diff)
import the cQVM game module
replacing the existing one
Diffstat (limited to 'src/game/bg_lib.c')
-rw-r--r--src/game/bg_lib.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/game/bg_lib.c b/src/game/bg_lib.c
index 69bca48..b9c8762 100644
--- a/src/game/bg_lib.c
+++ b/src/game/bg_lib.c
@@ -67,7 +67,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
static char sccsid[] = "@(#)qsort.c 8.1 (Berkeley) 6/4/93";
#endif
static const char rcsid[] =
- "$Id: bg_lib.c 965 2007-08-09 13:54:12Z msk $";
+ "$Id: bg_lib.c,v 1.1.1.1.4.1 2009/02/17 02:38:26 johne Exp $";
#endif /* LIBC_SCCS and not lint */
// bk001127 - needed for DLL's
@@ -1663,7 +1663,6 @@ unsigned int _hextoi( const char **stringPtr )
#define SHORTINT 0x00000040 /* short integer */
#define ZEROPAD 0x00000080 /* zero (as opposed to blank) pad */
#define FPT 0x00000100 /* floating point number */
-#define UNSIGNED 0x00000200 /* unsigned integer */
#define to_digit(c) ((c) - '0')
#define is_digit(c) ((unsigned)to_digit(c) <= 9)
@@ -1677,9 +1676,6 @@ void AddInt( char **buf_p, int val, int width, int flags )
digits = 0;
- if( flags & UNSIGNED )
- val = (unsigned) val;
-
if( flags & HEX )
{
char c;
@@ -1944,8 +1940,6 @@ reswitch:
arg++;
break;
- case 'u':
- flags |= UNSIGNED;
case 'd':
case 'i':
AddInt( &buf_p, *arg, width, flags );