[prev in list] [next in list] [prev in thread] [next in thread]
List: xine-cvslog
Subject: [xine-cvs] CVS: xine-ui/src/xitk/oxine mediamarks.c,1.4,1.5 oxine.c,1.6,1.7
From: Matthias Hopf <mshopf () users ! sourceforge ! net>
Date: 2006-05-22 17:11:21
Message-ID: E1FiDw9-0006dX-0o () sc8-pr-cvs10 ! sourceforge ! net
[Download RAW message or body]
Update of /cvsroot/xine/xine-ui/src/xitk/oxine
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv25173/src/xitk/oxine
Modified Files:
mediamarks.c oxine.c
Log Message:
Fixed gcc warnings (Adrian Schroeter).
Index: mediamarks.c
===================================================================
RCS file: /cvsroot/xine/xine-ui/src/xitk/oxine/mediamarks.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- mediamarks.c 15 Feb 2005 20:09:28 -0000 1.4
+++ mediamarks.c 22 May 2006 17:11:18 -0000 1.5
@@ -718,7 +718,7 @@
snprintf(mmpath,sizeof(mmpath),"%s/.xine/oxine/mediamarks", xine_get_homedir());
if (!read_mediamarks(items, mmpath)) {
lprintf("trying to load system wide mediamarks\n");
- snprintf(mmpath,1024,"%s/mediamarks", XINE_OXINEDIR);
+ snprintf(mmpath,sizeof(mmpath),"%s/mediamarks", XINE_OXINEDIR);
if (read_mediamarks(items, mmpath)) {
bpush(session->backpath, items);
oxine->reentry_data = session;
Index: oxine.c
===================================================================
RCS file: /cvsroot/xine/xine-ui/src/xitk/oxine/oxine.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- oxine.c 15 Feb 2005 20:09:32 -0000 1.6
+++ oxine.c 22 May 2006 17:11:18 -0000 1.7
@@ -534,7 +534,7 @@
snprintf(mmpath,sizeof(mmpath),"%s/.xine/oxine/mainmenu", xine_get_homedir());
if (!read_main_menu(oxine, oxine->main_menu_items, mmpath)) {
lprintf("trying to load system wide mainmenu\n");
- snprintf(mmpath,1024,"%s/mainmenu", XINE_OXINEDIR);
+ snprintf(mmpath, sizeof(mmpath),"%s/mainmenu", XINE_OXINEDIR);
if (read_main_menu(oxine, oxine->main_menu_items, mmpath)) {
/**/
} else {
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Xine-cvslog mailing list
Xine-cvslog@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xine-cvslog
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic