summaryrefslogtreecommitdiff
authorzcarsten <zcarsten>2003-08-14 07:19:50 (UTC)
committer zcarsten <zcarsten>2003-08-14 07:19:50 (UTC)
commitbbe788821dd43351b96c7a8826f1b7d904f33fdb (patch) (side-by-side diff)
treebdb188bf21b37c88a245a1f180c68283ababa67d
parent1ff9232b95b7f8ea0d841a3b9219eaa7e82f1d62 (diff)
downloadopie-bbe788821dd43351b96c7a8826f1b7d904f33fdb.zip
opie-bbe788821dd43351b96c7a8826f1b7d904f33fdb.tar.gz
opie-bbe788821dd43351b96c7a8826f1b7d904f33fdb.tar.bz2
changes for japanese C7x0 support
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,18 +1,18 @@
/*
-** Author: Carsten Schneider <zcarsten@gmx.net>
+** Author: Carsten Schneider <CarstenSchneider@t-online.de>
**
** $Id$
**
-** Homepage: http://z-soft.z-portal.info/zsafe/index.html
+** Homepage: http://home.t-online.de/home/CarstenSchneider/zsafe/index.html
*/
#include "zsafe.h"
#ifdef DESKTOP
#include <qapplication.h>
#else
#include <qpe/qpeapplication.h>
#endif
#include <stdio.h>
#include <signal.h>
#include "qsettings.h"
@@ -69,33 +69,39 @@ int main( int argc, char ** argv )
else
{
DeskW = 600;
DeskH = 400;
}
#else
DeskW = a.desktop()->width();
DeskH = a.desktop()->height();
char buf[128];
sprintf (buf, "Width: %d Height: %d\n", DeskW, DeskH);
qWarning (buf);
+
+#ifdef JPATCH_HDE
+ // nothings
+#else
if (DeskW > 240)
{
DeskW -= 20;
DeskH += 25;
sprintf (buf, "Changed width: %d Height: %d\n", DeskW, DeskH);
qWarning (buf);
}
#endif
+#endif
+
ZSafe mw;
zs = &mw;
#ifndef WIN32
signal (SIGCONT, resume);
#endif
#ifdef DESKTOP
a.setMainWidget(&mw);
mw.show();
#else
// a.showMainWidget( &mw );
a.showMainDocumentWidget( &mw );