mirror of
https://git.faggot-chan.online/imagesortc/
synced 2026-11-05 02:55:44 +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 WINTITLE "sorting..."
|
||||||
#define FONTSIZE 80
|
#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 };
|
SDL_Color textcolor = { 255, 255, 255, 255 };
|
||||||
|
|
||||||
@@ -249,7 +249,7 @@ int main(int argc, char **argv){
|
|||||||
case SDL_SCANCODE_D:
|
case SDL_SCANCODE_D:
|
||||||
if(!typing){
|
if(!typing){
|
||||||
char otherbuf[1024];
|
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);
|
rename(images[whichone], otherbuf);
|
||||||
if(whichone + 1 < count){
|
if(whichone + 1 < count){
|
||||||
whichone++;
|
whichone++;
|
||||||
|
|||||||
Reference in new issue
Block a user