summaryrefslogtreecommitdiff
path: root/plugingui/resource.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2020-07-29 15:07:07 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2020-07-29 15:07:07 +0200
commit220e36f0f54dcb0342ba32b6325e9add2f47347c (patch)
tree9c11327d6d7661887e611a8e999f7e443a553a45 /plugingui/resource.cc
parent20c9cd497cef9fab46f1e24eebe5fa98dc04a444 (diff)
Add embedded gettext support from resource.
Diffstat (limited to 'plugingui/resource.cc')
-rw-r--r--plugingui/resource.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugingui/resource.cc b/plugingui/resource.cc
index 3462317..44f5540 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[0] != '\0') // last entry in rc_data has the name := ""
+ while(*p->name) // last entry in rc_data has the name := ""
{
if(name == p->name)
{