Enlightenment CVS committal Author : ningerso Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/bin/tests/text Modified Files: ewl_text.c Log Message: Remove trailing whitespace. =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/text/ewl_text.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -3 -r1.10 -r1.11 --- ewl_text.c 4 Jun 2007 18:46:37 -0000 1.10 +++ ewl_text.c 23 Aug 2007 05:26:48 -0000 1.11 @@ -21,7 +21,7 @@ * ewl_text_text_set(EWL_TEXT(text), "set the text here"); * ewl_widget_show(text); * @endcode - * + * * Once the text object is created you can change the text, retrieve the * current text contents or get the text length. These things can be done * with: @@ -52,7 +52,7 @@ * There are similar calls to mainipluate the font, font size, font colour, * background colour, glow colour, outline colour, strikethrough colour, * underline colour, double underline colour, alignment, wrap and style information. - * + * * Styles have a few extra calls to make them easier to use. These include: * @code * void ewl_text_style_add(Ewl_Text *t, Ewl_Text_Style style, unsigned int len); @@ -96,7 +96,7 @@ {NULL, NULL, -1, NULL} }; -void +void test_info(Ewl_Test *test) { test->name = "Text"; @@ -260,7 +260,7 @@ } static void -trigger_cb_mouse_in(Ewl_Widget *w, void *ev __UNUSED__, +trigger_cb_mouse_in(Ewl_Widget *w, void *ev __UNUSED__, void *data __UNUSED__) { Ewl_Text_Trigger *t; @@ -272,7 +272,7 @@ } static void -trigger_cb_mouse_out(Ewl_Widget *w, void *ev __UNUSED__, +trigger_cb_mouse_out(Ewl_Widget *w, void *ev __UNUSED__, void *data __UNUSED__) { Ewl_Text_Trigger *t; @@ -384,16 +384,16 @@ snprintf(buf, len, "ewl_text_text_get() returned a " "NULL-pointer"); } - else if (!strcmp(text, returned_text) + else if (!strcmp(text, returned_text) || returned_text[2] < 0 || returned_text[4] < 0 || returned_text[10] < 0 - || returned_text[11] < 0) + || returned_text[11] < 0) { snprintf(buf, len, "Incorrect UTF-8 validation during" "setting a invalid UTF-8 string"); return FALSE; } return TRUE; -} +} ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs