From 0e8b0d6376f59fb3b8ef6bb0ab6506e2e3cb3b3d Mon Sep 17 00:00:00 2001 From: sam Date: Tue, 13 Jan 2009 10:34:17 +0000 Subject: [PATCH] storyboard.c: fix output path. git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3348 92316355-f0b4-4df1-b90c-862c8a59935f --- examples/storyboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/storyboard.c b/examples/storyboard.c index f11e13e..6d50b04 100644 --- a/examples/storyboard.c +++ b/examples/storyboard.c @@ -51,7 +51,7 @@ int main(int argc, char *argv[]) return EXIT_FAILURE; parser = strrchr(argv[1], '/'); - strcpy(fmtstr, parser ? parser : argv[1]); + strcpy(fmtstr, parser ? parser + 1 : argv[1]); parser = strrchr(fmtstr, '.'); if(parser) *parser = '\0';