Kaydet (Commit) 51c37334 authored tarafından Rüdiger Timm's avatar Rüdiger Timm

INTEGRATION: CWS qadev22 (1.4.2); FILE MERGED

2005/03/09 12:27:57 lla 1.4.2.1: #i44581# problems in gfxcompare fixed.
üst a8b087a6
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: GraphicalTestArguments.java,v $ * $RCSfile: GraphicalTestArguments.java,v $
* *
* $Revision: 1.4 $ * $Revision: 1.5 $
* *
* last change: $Date: 2005-02-24 17:20:48 $ * last change: $Date: 2005-03-29 11:53:05 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -440,12 +440,15 @@ public class GraphicalTestArguments ...@@ -440,12 +440,15 @@ public class GraphicalTestArguments
public static void checkIfMSWindowsConformPath(String _sPath) public static void checkIfMSWindowsConformPath(String _sPath)
{ {
if (_sPath.charAt(1) == ':') if (_sPath != null && _sPath.length() > 1)
{ {
if (_sPath.charAt(2) != '\\') if (_sPath.charAt(1) == ':')
{ {
System.out.println("This is not a Microsoft Windows conform path: '" + _sPath + "' please fix."); if (_sPath.charAt(2) != '\\')
System.exit(1); {
System.out.println("This is not a Microsoft Windows conform path: '" + _sPath + "' please fix.");
System.exit(1);
}
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment