forked from e16/e16
1
0
Fork 0
SVN revision: 51100
This commit is contained in:
Kim Woelders 2010-08-13 21:05:00 +00:00
parent c20c3e4657
commit c517a00f0b
5 changed files with 6 additions and 9 deletions

View File

@ -2960,8 +2960,7 @@ macroexpand(cpp_reader * pfile, HASHNODE * hp)
* delete the last run of nonwhite chars. */
if (rest_zero && totlen > count_before
&& ((ap->rest_args && ap->raw_before)
|| (last_ap && last_ap->rest_args
&& last_ap->raw_after)))
|| (last_ap && last_ap->rest_args && last_ap->raw_after)))
{
/* Delete final whitespace. */
while (totlen > count_before && is_space[xbuf[totlen - 1]])
@ -4025,8 +4024,7 @@ do_pragma(cpp_reader * pfile, struct directive *keyword, unsigned char *buf,
fname = p + 1;
p = strchr(fname, '\"');
fname_len =
(int)(((int)(p)) ? ((int)(p - fname))
: ((int)(strlen(fname))));
(int)(((int)(p)) ? ((int)(p - fname)) : ((int)(strlen(fname))));
for (ptr = pfile->all_include_files; ptr; ptr = ptr->next)
{

View File

@ -1300,7 +1300,7 @@ BackgroundsCheckDups(void)
bg = (Background *) ecore_list_next(bg_list);
if (!bg)
break;
for (; (bgx = (Background *)ecore_list_next(bg_list));)
for (; (bgx = (Background *) ecore_list_next(bg_list));)
{
if (bgx->ref_count > 0 || bgx->referenced)
continue;

View File

@ -750,8 +750,7 @@ ecore_list_items_get(Ecore_List * list, int *pnum)
if (!lst)
return NULL;
for (i = 0, ecore_list_first_goto(list);
(b = ecore_list_next(list));)
for (i = 0, ecore_list_first_goto(list); (b = ecore_list_next(list));)
lst[i++] = b;
*pnum = num;

View File

@ -238,7 +238,7 @@ ListWinGroupMembersForEwin(const EWin * ewin, int action, char nogroup,
goto done;
ewins = EwinListGetAll(&num);
if (!ewins) /* Should not be possible */
if (!ewins) /* Should not be possible */
goto done;
/* Loop through window stack, bottom up */

View File

@ -310,7 +310,7 @@ doFocusToEwin(EWin * ewin, int why)
case FOCUS_CLICK:
if (ewin && ewin == Mode.focuswin)
return;
if (!ewin) /* Unfocus */
if (!ewin) /* Unfocus */
break;
if (!FocusEwinValid(ewin, 1, why == FOCUS_CLICK, 0))
return;