summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBen Millwood <thebenmachine@gmail.com>2009-11-15 14:33:18 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:17:19 +0000
commitd22e46c9afdaf65a06ed0836d4f7e2b9e689e4d9 (patch)
treeceb0e074f05bbcc9c77ffe59a26b42de41d8cdcc /src
parent8f759de26ac1a17676f3937019804b3a9a972e35 (diff)
* Fix GetNews when USE_CURL is undefined
Diffstat (limited to 'src')
-rw-r--r--src/client/cl_ui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/cl_ui.c b/src/client/cl_ui.c
index 1ba367de..d1a37bf2 100644
--- a/src/client/cl_ui.c
+++ b/src/client/cl_ui.c
@@ -119,13 +119,13 @@ qboolean GetNews( qboolean begin )
}
if( !finished )
strcpy( clc.newsString, "Retrieving..." );
+ Cvar_Set( "cl_newsString", clc.newsString );
+ return finished;
#else
Cvar_Set( "cl_newsString",
"^1You must compile your client with CURL support to use this feature" );
return qtrue;
#endif
- Cvar_Set( "cl_newsString", clc.newsString );
- return finished;
}
/*