Enlightenment CVS committal
Author : morlenxus
Project : e_modules
Module : screenshot
Dir : e_modules/screenshot
Modified Files:
e_mod_main.c
Log Message:
If a full qualified filename like 'screenshot.png' has been set by the user,
simply use this file for scrot/import output, no need for adding
screenshot[1/2/3/...].png
there. If the extension (.png) is missing, we add the extension and a number.
===================================================================
RCS file: /cvs/e/e_modules/screenshot/e_mod_main.c,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -3 -r1.64 -r1.65
--- e_mod_main.c 17 Sep 2006 16:03:57 -0000 1.64
+++ e_mod_main.c 23 Sep 2006 22:00:15 -0000 1.65
@@ -600,7 +600,7 @@
if (!strrchr (ci->filename, '.'))
snprintf (buff, sizeof (buff), "%s%i.png", ci->filename, c);
else
- snprintf (buff, sizeof (buff), "%s%i.png", ext, c);;
+ snprintf (buff, sizeof (buff), "%s", ci->filename);
}
}
return strdup (buff);
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs