mirror of
https://git.faggot-chan.online/imagesortc/
synced 2026-11-05 00:25:43 +01:00
woops
This commit is contained in:
1 parent
25fb5df7cc
commit
834557ec1d
1 file changed
+2
-2
+2
-2
@@ -16,7 +16,7 @@
|
||||
|
||||
#define WINTITLE "sorting..."
|
||||
#define FONTSIZE 80
|
||||
#define FONTPATH "./font/FreeSans.ttf"
|
||||
#define FONTPATH "/home/david/hi/coding/c/active/imagesortc/font/FreeSans.ttf"
|
||||
|
||||
SDL_Color textcolor = { 255, 255, 255, 255 };
|
||||
|
||||
@@ -249,7 +249,7 @@ int main(int argc, char **argv){
|
||||
case SDL_SCANCODE_D:
|
||||
if(!typing){
|
||||
char otherbuf[1024];
|
||||
snprintf(otherbuf, sizeof(otherbuf), "../other/%s", strrchr(images[whichone], '/') + 1);
|
||||
snprintf(otherbuf, sizeof(otherbuf), "../delete/%s", strrchr(images[whichone], '/') + 1);
|
||||
rename(images[whichone], otherbuf);
|
||||
if(whichone + 1 < count){
|
||||
whichone++;
|
||||
|
||||
Reference in new issue
Block a user