aboutsummaryrefslogtreecommitdiff
path: root/src/MenuCreator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/MenuCreator.cc')
-rw-r--r--src/MenuCreator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MenuCreator.cc b/src/MenuCreator.cc
index 8507388..fefb3dc 100644
--- a/src/MenuCreator.cc
+++ b/src/MenuCreator.cc
@@ -325,7 +325,7 @@ static void translateMenuItem(Parser &parse, ParseItem &pitem, FbTk::StringConve
325 if (submenu == 0) 325 if (submenu == 0)
326 return; 326 return;
327 327
328 if (str_cmd.size()) 328 if (!str_cmd.empty())
329 submenu->setLabel(str_cmd); 329 submenu->setLabel(str_cmd);
330 else 330 else
331 submenu->setLabel(str_label); 331 submenu->setLabel(str_label);