aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstate
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-12-13 22:12:41 +0000
committerlloyd <[email protected]>2010-12-13 22:12:41 +0000
commit165b6777241bdff9650d9c024792f4f549949a41 (patch)
treeff35d146a9bce1b492886ad1e00f1fa91c1a5afe /src/libstate
parentaa8a0c19ec2156864d16bfe4b82fce4f2203c08d (diff)
More VC warning fixes
Diffstat (limited to 'src/libstate')
-rw-r--r--src/libstate/global_state.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstate/global_state.cpp b/src/libstate/global_state.cpp
index 00b71039f..43c935ca3 100644
--- a/src/libstate/global_state.cpp
+++ b/src/libstate/global_state.cpp
@@ -83,7 +83,7 @@ Library_State* swap_global_state(Library_State* new_state)
*/
bool global_state_exists()
{
- return (global_lib_state);
+ return (global_lib_state != 0);
}
}