summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/zsafe/main.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/noncore/apps/zsafe/main.cpp b/noncore/apps/zsafe/main.cpp
index e225775..7ff549b 100644
--- a/noncore/apps/zsafe/main.cpp
+++ b/noncore/apps/zsafe/main.cpp
@@ -1,12 +1,12 @@
1/* 1/*
2** Author: Carsten Schneider <zcarsten@gmx.net> 2** Author: Carsten Schneider <CarstenSchneider@t-online.de>
3** 3**
4** $Id$ 4** $Id$
5** 5**
6** Homepage: http://z-soft.z-portal.info/zsafe/index.html 6** Homepage: http://home.t-online.de/home/CarstenSchneider/zsafe/index.html
7*/ 7*/
8 8
9 9
10#include "zsafe.h" 10#include "zsafe.h"
11#ifdef DESKTOP 11#ifdef DESKTOP
12#include <qapplication.h> 12#include <qapplication.h>
@@ -75,21 +75,27 @@ int main( int argc, char ** argv )
75 DeskW = a.desktop()->width(); 75 DeskW = a.desktop()->width();
76 DeskH = a.desktop()->height(); 76 DeskH = a.desktop()->height();
77 77
78 char buf[128]; 78 char buf[128];
79 sprintf (buf, "Width: %d Height: %d\n", DeskW, DeskH); 79 sprintf (buf, "Width: %d Height: %d\n", DeskW, DeskH);
80 qWarning (buf); 80 qWarning (buf);
81
82#ifdef JPATCH_HDE
83 // nothings
84#else
81 if (DeskW > 240) 85 if (DeskW > 240)
82 { 86 {
83 DeskW -= 20; 87 DeskW -= 20;
84 DeskH += 25; 88 DeskH += 25;
85 sprintf (buf, "Changed width: %d Height: %d\n", DeskW, DeskH); 89 sprintf (buf, "Changed width: %d Height: %d\n", DeskW, DeskH);
86 qWarning (buf); 90 qWarning (buf);
87 } 91 }
88#endif 92#endif
89 93
94#endif
95
90 ZSafe mw; 96 ZSafe mw;
91 zs = &mw; 97 zs = &mw;
92 98
93#ifndef WIN32 99#ifndef WIN32
94 signal (SIGCONT, resume); 100 signal (SIGCONT, resume);
95#endif 101#endif