From 242bca6adb8b2523f16c6a438fde26465560a69d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Andr=C3=A9n=20Zachrisson?= Date: Sat, 31 Oct 2015 15:35:17 +0100 Subject: [PATCH] Copy the bin string --- cue2pops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cue2pops.c b/cue2pops.c index c18840d..d335a31 100644 --- a/cue2pops.c +++ b/cue2pops.c @@ -487,7 +487,7 @@ int main(int argc, char **argv) if(i == 0) { // Having a filename without hierarchy is perfectly ok. - strcpy(dumpaddr, argv[1]); + strcpy(dumpaddr, ptr); } else { // Here we've got the full CUE path. We're gonna use it to make the BIN path. strcpy(dumpaddr, argv[1]); /* Why should I use strrchr when I can do a n00ber thing ;D */