summaryrefslogtreecommitdiff
path: root/src/base/main.c
diff options
context:
space:
mode:
authororoborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-09-03 09:58:41 +0000
committeroroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-09-03 09:58:41 +0000
commit24bb721b3c1dc0b15d74ccecda03744357af558d (patch)
treee4af6ea2eedb649b55689f141fb8bf343875165f /src/base/main.c
parent85c0f71d6e90a451f64cd032a3e58157d57dc226 (diff)
- opravene regresnie, kotre vznikli, pri prepise naciatavania aren z *.zip
( a odstranene prebytocne subory z adresarovej struktury -- tie ktore su uz zabalene v zip ) git-svn-id: http://opensvn.csie.org/tuxanci_ng@265 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/base/main.c')
-rw-r--r--src/base/main.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/base/main.c b/src/base/main.c
index 62f433a..18ff5f3 100644
--- a/src/base/main.c
+++ b/src/base/main.c
@@ -112,6 +112,22 @@ int tryExistFile (const char *s)
return 0;
}
+int isFillPath(const char *path)
+{
+ assert( path != NULL);
+
+#ifndef __WIN32__
+ if( path[0] == '/' ) // for Unix-like systems ;)
+#else
+ if( path[1] == ':' ) // for Windows-like systems ;)
+#endif
+ {
+ return 1;
+ }
+
+ return 0;
+}
+
#ifdef __WIN32__
int WINAPI WinMain(
HINSTANCE hInstance,