Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e/src
Modified Files:
buttons.c buttons.h
Log Message:
Fix button stacking bug when char is unsigned.
===================================================================
RCS file: /cvs/e/e16/e/src/buttons.c,v
retrieving revision 1.116
retrieving revision 1.117
diff -u -3 -r1.116 -r1.117
--- buttons.c 5 Jun 2008 17:42:58 -0000 1.116
+++ buttons.c 7 Aug 2008 23:19:24 -0000 1.117
@@ -114,7 +114,7 @@
Button *
ButtonCreate(const char *name, int id, const char *iclass,
const char *aclass, const char *tclass, const char *label,
- char ontop, int flags, int minw, int maxw, int minh, int maxh,
+ int ontop, int flags, int minw, int maxw, int minh, int maxh,
int xo, int yo, int xa, int xr, int ya, int yr, int xsr, int xsa,
int ysr, int ysa, char simg, int desk, char sticky)
{
@@ -662,7 +662,7 @@
char iclass[64], aclass[64], tclass[64];
Button *bt = NULL;
Button *pbt = NULL;
- char ontop = 0;
+ int ontop = 0;
int flags = 0, minw = 1, maxw = 99999, minh = 1;
int maxh = 99999, xo = 0, yo = 0, xa = 0;
int xr = 0, ya = 0, yr = 0;
===================================================================
RCS file: /cvs/e/e16/e/src/buttons.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- buttons.h 24 Mar 2008 08:57:50 -0000 1.13
+++ buttons.h 7 Aug 2008 23:19:24 -0000 1.14
@@ -33,7 +33,7 @@
/* buttons.c */
Button *ButtonCreate(const char *name, int id, const char *iclass,
const char *aclass, const char *tclass,
- const char *label, char ontop, int flags,
+ const char *label, int ontop, int flags,
int minw, int maxw, int minh, int maxh, int xo,
int yo, int xa, int xr, int ya, int yr,
int xsr, int xsa, int ysr, int ysa, char simg,
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs