aboutsummaryrefslogtreecommitdiff
path: root/imagesortc.c
diff options
context:
space:
mode:
Diffstat (limited to 'imagesortc.c')
-rw-r--r--imagesortc.c4
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++;