Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-gnome
Path: blob/main/games/allacrost/files/patch-src_common_gui_option.cpp
16135 views
1
--- src/common/gui/option.cpp.orig 2010-05-16 23:38:35 UTC
2
+++ src/common/gui/option.cpp
3
@@ -527,7 +527,7 @@ bool OptionBox::IsEnabled(uint32 index)
4
StillImage* OptionBox::GetEmbeddedImage(uint32 index) const {
5
if (index >= GetNumberOptions()) {
6
IF_PRINT_WARNING(VIDEO_DEBUG) << "argument index was invalid: " << index << endl;
7
- return false;
8
+ return nullptr;
9
}
10
11
return _options[index].image;
12
13