summaryrefslogtreecommitdiff
path: root/plugingui/resource.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-03-30 17:44:20 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2013-03-30 17:44:20 +0100
commit4b7414b3f6869f2bdeb097e4f997498bae9f0aee (patch)
tree53e9741d7d40f1ff6f77d47fc308b18168dca330 /plugingui/resource.cc
parenta1fba9ba11a13f94c524f2ac78206b3fdfb3be74 (diff)
New box rendering of all widgets. Minor tweaks still missing.
Diffstat (limited to 'plugingui/resource.cc')
-rw-r--r--plugingui/resource.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/plugingui/resource.cc b/plugingui/resource.cc
index a80c490..d8dc35c 100644
--- a/plugingui/resource.cc
+++ b/plugingui/resource.cc
@@ -27,7 +27,7 @@
#include "resource.h"
#include <stdio.h>
-
+#include <hugin.hpp>
#include "resource_data.h"
GUI::Resource::Resource(std::string name)
@@ -52,7 +52,10 @@ GUI::Resource::Resource(std::string name)
}
// We did not find the named resource.
- if(i_data == NULL) return;
+ if(i_data == NULL) {
+ ERR(rc, "Could not find '%s'\n", name.c_str());
+ return;
+ }
is_internal = true;
} else {