fix(menu): Wrong printf token in error message (#2264)
'level' is a string, not an integer
This commit is contained in:
parent
62638a5833
commit
c198859cd5
@ -140,7 +140,7 @@ namespace modules {
|
||||
m_log.info("%s: Opening menu level '%i'", name(), static_cast<int>(m_level));
|
||||
|
||||
if (static_cast<size_t>(m_level) >= m_levels.size()) {
|
||||
m_log.warn("%s: Cannot open unexisting menu level '%i'", name(), level);
|
||||
m_log.warn("%s: Cannot open unexisting menu level '%s'", name(), level);
|
||||
m_level = -1;
|
||||
}
|
||||
} else if (action == EVENT_CLOSE) {
|
||||
|
Loading…
Reference in New Issue
Block a user