Enlightenment CVS committal
Author : rbdpngn
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src
Modified Files:
ewl_spinner.c ewl_spinner.h
Log Message:
Limit the sign and size of the format string digits, caught by digitalfallout.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_spinner.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -3 -r1.51 -r1.52
--- ewl_spinner.c 16 May 2004 21:42:57 -0000 1.51
+++ ewl_spinner.c 31 May 2004 05:52:51 -0000 1.52
@@ -138,7 +138,7 @@
*
* Changes the digits displayed by @a s to @a digits.
*/
-void ewl_spinner_set_digits(Ewl_Spinner * s, int digits)
+void ewl_spinner_set_digits(Ewl_Spinner * s, unsigned char digits)
{
DENTER_FUNCTION(DLEVEL_STABLE);
DCHECK_PARAM_PTR("s", s);
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_spinner.h,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -3 -r1.23 -r1.24
--- ewl_spinner.h 16 May 2004 05:48:17 -0000 1.23
+++ ewl_spinner.h 31 May 2004 05:52:51 -0000 1.24
@@ -50,7 +50,7 @@
int ewl_spinner_init(Ewl_Spinner * s);
void ewl_spinner_set_value(Ewl_Spinner * s, double value);
double ewl_spinner_get_value(Ewl_Spinner * s);
-void ewl_spinner_set_digits(Ewl_Spinner * s, int digits);
+void ewl_spinner_set_digits(Ewl_Spinner * s, unsigned char digits);
double ewl_spinner_get_min_val(Ewl_Spinner * s);
void ewl_spinner_set_min_val(Ewl_Spinner * s, double val);
double ewl_spinner_get_max_val(Ewl_Spinner * s);
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs