Enlightenment CVS committal
Author : atmosphere
Project : e17
Module : libs/epsilon
Dir : e17/libs/epsilon/src/bin
Modified Files:
epsilon_main.c
Log Message:
hush warnings, fix a dumb fprintf mistake i merged into jerome's patch
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/epsilon/src/bin/epsilon_main.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- epsilon_main.c 16 Jul 2005 15:50:10 -0000 1.6
+++ epsilon_main.c 16 Jul 2005 15:54:39 -0000 1.7
@@ -1,5 +1,6 @@
#include<stdlib.h>
#include<stdio.h>
+#include<string.h>
#include"Epsilon.h"
#include"../config.h"
@@ -14,14 +15,14 @@
if ((e = epsilon_new ((const char *) argv[argc])))
{
char *str;
- str=strrchr(argv[argc],'.');
+ str = strrchr (argv[argc], '.');
str++;
- if(!strcmp(str,"edj"))
- {
- epsilon_key_set(e, "desktop/background");
- //epsilon_resolution_set(e, 1600, 1200);
- epsilon_resolution_set(e, 800, 600);
- }
+ if (!strcmp (str, "edj"))
+ {
+ epsilon_key_set (e, "desktop/background");
+ //epsilon_resolution_set(e, 1600, 1200);
+ epsilon_resolution_set (e, 800, 600);
+ }
if (epsilon_exists (e) == EPSILON_FAIL)
{
fprintf (stderr,
@@ -50,15 +51,17 @@
fprintf (stderr, "Trying EXIF Info: ");
if (epsilon_info_exif_get (info))
{
- fprintf (stderr, "Found!\n");
+ fprintf (stderr, "Found!\n");
#if 0
- fprintf (stderr, "%d is direction\n",
- epsilon_exif_info_props_as_int_get (eei, 0x0112));
+ fprintf (stderr, "%d is direction\n",
+ epsilon_exif_info_props_as_int_get (eei,
+ 0x0112));
#endif
- epsilon_info_exif_props_print (info);
+ epsilon_info_exif_props_print (info);
}
- else {
- fprintf (stderr, "Not Found!\n");
+ else
+ {
+ fprintf (stderr, "Not Found!\n");
}
epsilon_info_free (info);
}
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs