diff options
-rw-r--r-- | plugingui/resource.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugingui/resource.cc b/plugingui/resource.cc index b70f84a..3462317 100644 --- a/plugingui/resource.cc +++ b/plugingui/resource.cc @@ -77,7 +77,7 @@ Resource::Resource(const std::string& name) // Find internal resource in rc_data. const rc_data_t* p = rc_data; - while(p->name) // last entry in rc_data has the name := "" + while(p->name[0] != '\0') // last entry in rc_data has the name := "" { if(name == p->name) { |