File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 99 Fix crash with online command if site is down
1010 Fix over scroll issue with line number widget
1111 Implemented editor F2 command to display online help
12+ Fix screen dump invalid file name for online files
1213
13142015-10-20
1415 Fix LET when assigning a value to a MAP/ARRAY field
Original file line number Diff line number Diff line change @@ -363,7 +363,11 @@ void screen_dump() {
363363#endif
364364 for (int i = 0 ; i < 1000 ; i++) {
365365 char file[OS_PATHNAME_SIZE];
366- sprintf (file, " %ssbasic_dump_%d.png" , path, i);
366+ if (strstr (path, " ://" ) != NULL ) {
367+ sprintf (file, " sbasic_dump_%d.png" , i);
368+ } else {
369+ sprintf (file, " %ssbasic_dump_%d.png" , path, i);
370+ }
367371 if (access (file, R_OK) != 0 ) {
368372 g_system->systemPrint (" Saving screen to %s\n " , file);
369373 lodepng_encode32_file (file, image, width, height);
You can’t perform that action at this time.
0 commit comments