diff options
author | Ole Loots <ole@monochrom.net> | 2014-09-13 14:15:01 +0200 |
---|---|---|
committer | Ole Loots <ole@monochrom.net> | 2014-09-13 14:15:01 +0200 |
commit | d7f479070e6a198084f92e77c26b9bb0e8cab471 (patch) | |
tree | 30607d04733f98d9d10e8b729fa45b6946536fb6 /atari/gui.c | |
parent | a9ac9c00fc2c73705db242a459160f14d279cdcd (diff) | |
download | netsurf-d7f479070e6a198084f92e77c26b9bb0e8cab471.tar.gz netsurf-d7f479070e6a198084f92e77c26b9bb0e8cab471.tar.bz2 |
Replace default posix file handling table with GEMDOS compatible one
Since build #1917, URL to path conversion was broken.
Thanks to Peter for reporting the bug.
Most of the path handling code was taken from the windows frontend.
Note:
- NetSurf core switched to an file handling table with default
posix compatible functions.
- The atari frontend always uses GEMDOS compatible
path like: "u:\folder\1", even when running on top of
FreeMiNT environment.
Diffstat (limited to 'atari/gui.c')
-rw-r--r-- | atari/gui.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/atari/gui.c b/atari/gui.c index f267b69a8..161582cfd 100644 --- a/atari/gui.c +++ b/atari/gui.c @@ -70,6 +70,7 @@ #include "atari/search.h" #include "atari/deskmenu.h" #include "atari/download.h" +#include "atari/file.h" #include "atari/filetype.h" #include "cflib.h" @@ -133,7 +134,7 @@ static void gui_poll(bool active) if(input_window && input_window->root->redraw_slots.areas_used > 0) { window_process_redraws(input_window->root); } - + graf_mkstate(&mx, &my, &dummy, &dummy); aes_event_in.emi_m1.g_x = mx; @@ -1064,6 +1065,7 @@ int main(int argc, char** argv) .clipboard = &atari_clipboard_table, .download = atari_download_table, .fetch = &atari_fetch_table, + .file = atari_file_table, .utf8 = atari_utf8_table, .search = atari_search_table, }; |