Révision 2814

tmp/org.txm.core/src/java/org/txm/utils/BundleUtils.java (revision 2814)
223 223
			path = Toolbox.getPreference(TBXPreferences.INSTALL_DIR);
224 224
		}
225 225
		if (path.startsWith("file:")) {
226
			path = path.substring(5);
226
			if (OSDetector.isFamilyWindows()) {
227
				path = path.substring(6); // file://C:/ ...
228
			} else {
229
				path = path.substring(5); // file://home/ ...
230
			}
227 231
		}
228 232
		return path;
229 233
	}

Formats disponibles : Unified diff