diff options
| author | david <[email protected]> | 2026-06-10 13:03:09 -0300 |
|---|---|---|
| committer | david <[email protected]> | 2026-06-10 13:03:09 -0300 |
| commit | 834557ec1d55c06b67fb850b262d88878fdfb56a (patch) | |
| tree | a63f8bb3c6b2ef7c40e3652a579c7a862af0f877 | |
| parent | 25fb5df7cc740577ee1df6fe263779dd2d0d051f (diff) | |
| download | imagesortc-834557ec1d55c06b67fb850b262d88878fdfb56a.tar.gz imagesortc-834557ec1d55c06b67fb850b262d88878fdfb56a.zip | |
woops
| -rw-r--r-- | imagesortc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/imagesortc.c b/imagesortc.c index ea7a0e3..6bca63d 100644 --- a/imagesortc.c +++ b/imagesortc.c @@ -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++; |
