diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2020-07-29 15:07:07 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2020-07-29 15:07:07 +0200 |
commit | 220e36f0f54dcb0342ba32b6325e9add2f47347c (patch) | |
tree | 9c11327d6d7661887e611a8e999f7e443a553a45 /plugingui/resource.cc | |
parent | 20c9cd497cef9fab46f1e24eebe5fa98dc04a444 (diff) |
Add embedded gettext support from resource.
Diffstat (limited to 'plugingui/resource.cc')
-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 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) { |