[PATCH] small GUI fixes (was Re: [MPlayer-dev-eng] release tomorrow (Thursday) ?)
Dominik Mierzejewski
dominik at rangers.eu.org
Thu Oct 24 01:00:47 CEST 2002
On Thursday, 24 October 2002, Zoltan Ponekker wrote:
>
> Hali
>
> > > are there any non-refused patches out there?
>
> anybody have uncommited GUI patch ?
Actually, I do. :-)
Attached.
--
MPlayer RPMs maintainer: http://www.piorunek.pl/~dominik/linux/pkgs/mplayer/
"The Universe doesn't give you any points for doing things that are easy."
-- Sheridan to Garibaldi in Babylon 5:"The Geometry of Shadows"
-------------- next part --------------
--- MPlayer-20021022/Gui/mplayer/gtk/fs.c.gui Fri Oct 11 23:31:39 2002
+++ MPlayer-20021022/Gui/mplayer/gtk/fs.c Tue Oct 22 18:48:38 2002
@@ -5,6 +5,7 @@
#include <sys/stat.h>
#include <glob.h>
#include <unistd.h>
+#include <ctype.h>
#include "../mplayer.h"
@@ -129,7 +130,7 @@
int i,c;
for ( i=0,c=0;i < strlen( name );i++ )
{
- if ( ( name[i] >='a' )&&( name[i] <= 'z' ) ) { tmp[c++]='['; tmp[c++]=name[i]; tmp[c++]=name[i] - 32; tmp[c++]=']'; }
+ if ( isalpha(name[i]) ) { tmp[c++]='['; tmp[c++]=name[i]; tmp[c++]=name[i] - 32; tmp[c++]=']'; }
else tmp[c++]=name[i];
}
tmp[c]=0;
--- MPlayer-20021022/Gui/wm/ws.c.gui Sun Oct 20 16:32:00 2002
+++ MPlayer-20021022/Gui/wm/ws.c Tue Oct 22 19:20:19 2002
@@ -24,6 +24,7 @@
#include "../../postproc/rgb2rgb.h"
#include "../../mp_msg.h"
#include "../../mplayer.h"
+#include "../../libvo/x11_common.h"
#include <X11/extensions/XShm.h>
#ifdef HAVE_XSHAPE
More information about the MPlayer-dev-eng
mailing list