| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/x11/fireflies/files/ |
Upload File : |
--- src/canvas_sdl.h 2003-04-26 14:01:42.000000000 -0400
+++ src/canvas_sdl.h 2013-05-13 14:28:04.000000000 -0400
@@ -10,11 +10,11 @@
protected:
SDL_Surface *surface;
- char *wm_title;
- char *wm_class;
+ const char *wm_title;
+ const char *wm_class;
// create the window (either SDL or GLX)
virtual int create_window();
public:
- CanvasSDL(Scene *s, bool full_screen, int mspf, char *wm_title, char *wm_class);
+ CanvasSDL(Scene *s, bool full_screen, int mspf, const char *wm_title, const char *wm_class);
virtual ~CanvasSDL() {}
--- src/canvas_sdl.cc 2004-02-05 16:58:24.000000000 -0500
+++ src/canvas_sdl.cc 2013-05-13 14:27:03.000000000 -0400
@@ -10,5 +10,5 @@
using namespace std;
-CanvasSDL::CanvasSDL(Scene *s, bool fs, int m, char *t, char *c)
+CanvasSDL::CanvasSDL(Scene *s, bool fs, int m, const char *t, const char *c)
: CanvasBase(s, fs, m), wm_title(t), wm_class(c)
{
--- src/vroot.h 2005-12-08 22:07:30.000000000 -0500
+++ src/vroot.h 2013-05-13 14:30:56.000000000 -0400
@@ -82,4 +82,5 @@
#include <X11/Xatom.h>
#include <X11/Xlib.h>
+#include <stdio.h> /* For sscanf */
static Window
@@ -96,7 +97,6 @@
Display *dpy = DisplayOfScreen(screen);
Atom __SWM_VROOT = None;
- int i;
Window rootReturn, parentReturn, *children;
- unsigned int numChildren;
+ unsigned int i, numChildren;
/* first check for a hex or decimal window ID in the environment */