Subversion Repositories Kolibri OS

Rev

Rev 7254 | Rev 7867 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7254 Rev 7783
Line 217... Line 217...
217
        if(encoded_data == 0) {
217
        if(encoded_data == 0) {
218
            notify("'Error saving file, incorrect data!' -E");
218
            notify("'Error saving file, incorrect data!' -E");
219
        }
219
        }
220
        else {
220
        else {
221
            if (CreateFile(encoded_size, encoded_data, _path) == 0) {
221
            if (CreateFile(encoded_size, encoded_data, _path) == 0) {
222
                sprintf(#save_success_message, "'File saved as %s' -O", _path);
222
                strcpy(#save_success_message, "'File saved as ");
-
 
223
                strcat(#save_success_message, _path);
-
 
224
                strcat(#save_success_message, "' -O");
223
                notify(#save_success_message);
225
                notify(#save_success_message);
224
            }
226
            }
225
            else {
227
            else {
226
                notify("'Error saving image file!\nProbably not enought space or file system is not writable!\nPlease, check saving path.' -E");
228
                notify("'Error saving image file!\nNot enough space? Path wrong?\nFile system is not writable?..' -E");
227
            }
229
            }
228
        }
230
        }
229
    }
231
    }
230
}
232
}