projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06a023b
)
Made Menu::get_item_by_id(int id) error message sligthly more useful
author
Ingo Ruhnke
<grumbel@gmail.com>
Wed, 27 Aug 2014 08:23:58 +0000
(10:23 +0200)
committer
Ingo Ruhnke
<grumbel@gmail.com>
Wed, 27 Aug 2014 08:23:58 +0000
(10:23 +0200)
src/gui/menu.cpp
patch
|
blob
|
history
diff --git
a/src/gui/menu.cpp
b/src/gui/menu.cpp
index
1a636ee
..
fd253e9
100644
(file)
--- a/
src/gui/menu.cpp
+++ b/
src/gui/menu.cpp
@@
-625,7
+625,7
@@
Menu::get_item_by_id(int id)
}
}
- throw std::runtime_error("MenuItem not found
"
);
+ throw std::runtime_error("MenuItem not found
: " + std::to_string(id)
);
}
const MenuItem&