diff dwtest.c @ 2447:8723c01fb87e

iOS: Fix bug in dw_pixmap_new_from_file(). Resources go into the app directory on iOS it seems. Remove a couple debug messages in dwtest from that last commit.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 09 Apr 2021 22:17:42 +0000
parents b9d373d1ccf5
children 7e1828dd4fe0
line wrap: on
line diff
--- a/dwtest.c	Fri Apr 09 19:10:30 2021 +0000
+++ b/dwtest.c	Fri Apr 09 22:17:42 2021 +0000
@@ -1159,7 +1159,6 @@
         pos++;
         strncpy(&pathbuff[pos], "test", 1024-pos);
         image = dw_pixmap_new_from_file(textbox2, pathbuff);
-        dw_debug("PathBuff: %s\n", pathbuff);
     }
     if(image)
         dw_pixmap_set_transparent_color(image, DW_CLR_WHITE);
@@ -2160,10 +2159,8 @@
         pos++;
         strncpy(&pathbuff[pos], FOLDER_ICON_NAME, 1024-pos);
         foldericon = dw_icon_load_from_file(pathbuff);
-        dw_debug("PathBuff: %s\n", pathbuff);
         strncpy(&pathbuff[pos], FILE_ICON_NAME, 1024-pos);
         fileicon = dw_icon_load_from_file(pathbuff);
-        dw_debug("PathBuff: %s\n", pathbuff);
     }
 
     notebook = dw_notebook_new( 1, TRUE );