summaryrefslogtreecommitdiff
path: root/beos/beos_gui.cpp
diff options
context:
space:
mode:
authorFran├žois Revel <mmu_man@netsurf-browser.org>2011-02-27 00:19:23 +0000
committerFran├žois Revel <mmu_man@netsurf-browser.org>2011-02-27 00:19:23 +0000
commit1842be491dffdbc0b0d2dc8e3891d13369824887 (patch)
tree39999982b55087f5c8f3af24608c4edbbcb6fb20 /beos/beos_gui.cpp
parent31bd1df6f9ace7c05e430df1e6e9a6d08c17909b (diff)
downloadnetsurf-1842be491dffdbc0b0d2dc8e3891d13369824887.tar.gz
netsurf-1842be491dffdbc0b0d2dc8e3891d13369824887.tar.bz2
Forward resources: to rsrc: which the BeOS port already has to use the stuff embedded in the binary. Doesn't seem to be used yet though !?
svn path=/trunk/netsurf/; revision=11836
Diffstat (limited to 'beos/beos_gui.cpp')
-rw-r--r--beos/beos_gui.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/beos/beos_gui.cpp b/beos/beos_gui.cpp
index 2eca65ca4..2767348f7 100644
--- a/beos/beos_gui.cpp
+++ b/beos/beos_gui.cpp
@@ -424,7 +424,10 @@ static int32 bapp_thread(void *arg)
char* gui_find_resource(const char *filename)
{
- return NULL;
+ BString u("rsrc:/");
+ u << filename;
+ fprintf(stderr, "%s(%s) -> '%s'\n", __FUNCTION__, filename, u.String());
+ return strdup(u.String());
}
static void gui_init2(int argc, char** argv)