Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e/src
Modified Files:
icccm.c lang.c pager.c ttfont.c
Log Message:
Trivial cleanups.
===================================================================
RCS file: /cvs/e/e16/e/src/icccm.c,v
retrieving revision 1.131
retrieving revision 1.132
diff -u -3 -r1.131 -r1.132
--- icccm.c 19 Nov 2006 21:55:51 -0000 1.131
+++ icccm.c 19 Nov 2006 22:55:32 -0000 1.132
@@ -789,7 +789,8 @@
StructureNotifyMask,
ECORE_X_ATOM_NET_WM_SYNC_REQUEST,
Mode.events.time,
- count & 0xffffffff, count >> 32, 0);
+ (long)(count & 0xffffffff),
+ (long)(count >> 32), 0);
return 1;
}
===================================================================
RCS file: /cvs/e/e16/e/src/lang.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -3 -r1.15 -r1.16
--- lang.c 19 Nov 2006 21:55:51 -0000 1.15
+++ lang.c 19 Nov 2006 22:55:32 -0000 1.16
@@ -197,11 +197,10 @@
#if HAVE_ICONV
char *pi, *po;
size_t ni, no, rc;
+ char buf[4096];
if (!wcs)
{
- char buf[4096];
-
ni = len;
no = 4096;
po = buf;
===================================================================
RCS file: /cvs/e/e16/e/src/pager.c,v
retrieving revision 1.232
retrieving revision 1.233
diff -u -3 -r1.232 -r1.233
--- pager.c 19 Nov 2006 21:55:52 -0000 1.232
+++ pager.c 19 Nov 2006 22:55:32 -0000 1.233
@@ -556,8 +556,8 @@
if (apply)
{
- w = (int)(ax * VRoot.w / p->scale + .5);
- h = (int)(ay * VRoot.h / p->scale + .5);
+ w = (int)((double)ax * (double)VRoot.w / (double)p->scale + .5);
+ h = (int)((double)ay * (double)VRoot.h / (double)p->scale + .5);
EwinResize(p->ewin, w + (dx * ax) / 2, h + (dy * ay) / 2);
EwinReposition(p->ewin);
}
===================================================================
RCS file: /cvs/e/e16/e/src/ttfont.c,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -3 -r1.57 -r1.58
--- ttfont.c 12 Nov 2006 00:39:19 -0000 1.57
+++ ttfont.c 19 Nov 2006 22:55:32 -0000 1.58
@@ -97,8 +97,6 @@
imlib_text_draw(x, y - imlib_get_font_ascent(), text);
}
-extern const FontOps FontOpsIft;
-
/*
* Imlib2/FreeType
*/
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs