From: seoz Date: Tue, 5 Jul 2011 16:59:23 +0000 (+0000) Subject: elm: Removed trailing whitespaces. X-Git-Tag: REL_F_I9500_20120323_1~17^2~2376 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9b57cf768ce367a4531ab5e3b6ca1aa0c6bca454;p=framework%2Fuifw%2Felementary.git elm: Removed trailing whitespaces. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@61057 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/elm_cnp_helper.c b/src/lib/elm_cnp_helper.c index e2a729c..3f3d2cb 100644 --- a/src/lib/elm_cnp_helper.c +++ b/src/lib/elm_cnp_helper.c @@ -1609,7 +1609,7 @@ elm_cnp_tempfile_create(int size) } eina_mmap_safety_enabled_set(EINA_TRUE); - + info->map = mmap(NULL, size, PROT_READ|PROT_WRITE, MAP_SHARED, info->fd, 0); if (info->map == MAP_FAILED) { diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c index ef8405f..ecd6695 100644 --- a/src/lib/elm_win.c +++ b/src/lib/elm_win.c @@ -51,7 +51,7 @@ * output to the file specified by the file option (and then exit). If no * delay is given, the default is 0.5 seconds. If no file is given the * default output file is "out.png". Repeat option is for continous - * capturing screenshots. Repeat range is from 1 to 999 and + * capturing screenshots. Repeat range is from 1 to 999 and * filename is fixed to "out001.png" * Some examples of using the shot engine: * @@ -211,7 +211,7 @@ _shot_file_get(Elm_Win *win) { repname = malloc(sizeof(char)*(strlen(tmp) + 16)); strncpy(repname, tmp, dotptr - tmp); - sprintf(repname + (dotptr - tmp), "%03i", + sprintf(repname + (dotptr - tmp), "%03i", win->shot.shot_counter + 1); strcat(repname, dotptr); return repname; @@ -221,7 +221,7 @@ _shot_file_get(Elm_Win *win) } free(tmp); if (!win->shot.repeat_count) return strdup("out.png"); - else + else { repname = malloc(sizeof(char) * 24); sprintf(repname, "out%03i.png", win->shot.shot_counter + 1); @@ -315,7 +315,7 @@ _shot_delay(void *data) { int remainshot = (win->shot.repeat_count - win->shot.shot_counter); if (remainshot > 0) return EINA_TRUE; - } + } win->shot.timer = NULL; elm_exit(); return EINA_FALSE;