Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Niefer2007-12-14 16:09:07 +0000
committerAndrew Niefer2007-12-14 16:09:07 +0000
commitb2c60c044ec9a85aaa715fcb0f81f85bdc74f33b (patch)
tree802471242755d6d35b0d71e2907ca3a1136ab3bf /bundles/org.eclipse.equinox.executable/library/eclipseConfig.c
parent812ecec671bddc8a631b5bc8028c00e23e9362ce (diff)
downloadrt.equinox.framework-b2c60c044ec9a85aaa715fcb0f81f85bdc74f33b.tar.gz
rt.equinox.framework-b2c60c044ec9a85aaa715fcb0f81f85bdc74f33b.tar.xz
rt.equinox.framework-b2c60c044ec9a85aaa715fcb0f81f85bdc74f33b.zip
bug 211904 - "eclipse" elsewhere on the path
Diffstat (limited to 'bundles/org.eclipse.equinox.executable/library/eclipseConfig.c')
-rw-r--r--bundles/org.eclipse.equinox.executable/library/eclipseConfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.executable/library/eclipseConfig.c b/bundles/org.eclipse.equinox.executable/library/eclipseConfig.c
index a6cf8163c..935532e29 100644
--- a/bundles/org.eclipse.equinox.executable/library/eclipseConfig.c
+++ b/bundles/org.eclipse.equinox.executable/library/eclipseConfig.c
@@ -46,7 +46,7 @@ int readIniFile(_TCHAR* program, int *argc, _TCHAR ***argv)
{
/* Search for the extension .exe and replace it with .ini */
_TCHAR *extension = _tcsrchr(config_file, _T_ECLIPSE('.'));
- if (extension == NULL || _tcslen(extension) < 4)
+ if (extension == NULL)
{
/* does not end with an extension, just append .ini */
extension = config_file + _tcslen(config_file);

Back to the top