Whitespace, lose a != NULL

This commit is contained in:
Jeff Teunissen 2001-01-06 07:52:22 +00:00
parent a71f589c77
commit 61cfc6a5db

View file

@ -31,11 +31,13 @@
#endif #endif
#include <stdarg.h> #include <stdarg.h>
#ifdef HAVE_STRING_H #ifdef HAVE_STRING_H
#include <string.h> # include <string.h>
#endif #endif
#ifdef HAVE_STRINGS_H #ifdef HAVE_STRINGS_H
#include <strings.h> # include <strings.h>
#endif #endif
#include "client.h" #include "client.h"
@ -53,9 +55,7 @@
int con_ormask; int con_ormask;
console_t con_main; console_t con_main;
console_t con_chat; console_t con_chat;
console_t *con; // point to either con_main or console_t *con; // point to either con_main or con_chat
// con_chat
int con_linewidth; // characters across screen int con_linewidth; // characters across screen
int con_totallines; // total lines in console scrollback int con_totallines; // total lines in console scrollback
@ -66,15 +66,11 @@ float con_cursorspeed = 4;
cvar_t *con_notifytime; // seconds cvar_t *con_notifytime; // seconds
#define NUM_CON_TIMES 4 #define NUM_CON_TIMES 4
float con_times[NUM_CON_TIMES]; // realtime time the line was float con_times[NUM_CON_TIMES]; // realtime time the line was generated
// for transparent notify lines
// generated
// for transparent notify lines
int con_vislines; int con_vislines;
int con_notifylines; // scan lines to clear for notify int con_notifylines; // scan lines to clear for notify lines
// lines
qboolean con_debuglog; qboolean con_debuglog;
@ -86,7 +82,6 @@ extern int key_linepos;
qboolean con_initialized; qboolean con_initialized;
void void
Key_ClearTyping (void) Key_ClearTyping (void)
{ {
@ -618,7 +613,7 @@ Con_DrawConsole (int lines)
// draw the download bar // draw the download bar
// figure out width // figure out width
if (cls.download) { if (cls.download) {
if ((text = strrchr (cls.downloadname, '/')) != NULL) if ((text = strrchr (cls.downloadname, '/')))
text++; text++;
else else
text = cls.downloadname; text = cls.downloadname;