diff options
author | Veronika Irvine <veronika> | 2003-03-06 23:03:33 +0000 |
---|---|---|
committer | Veronika Irvine <veronika> | 2003-03-06 23:03:33 +0000 |
commit | 5b7360d3bfe7c7e28411d9814b445b518e551cac (patch) | |
tree | 6b1680952f4821f5fb342244b54c4743ebcec5a8 /bundles/org.eclipse.swt/Eclipse SWT Program/carbon/org/eclipse/swt/program/Program.java | |
parent | 2c9d8845d6614889c441bdd0a95eeaf3cf6eab68 (diff) | |
download | eclipse.platform.swt-5b7360d3bfe7c7e28411d9814b445b518e551cac.tar.gz eclipse.platform.swt-5b7360d3bfe7c7e28411d9814b445b518e551cac.tar.xz eclipse.platform.swt-5b7360d3bfe7c7e28411d9814b445b518e551cac.zip |
*** empty log message ***
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT Program/carbon/org/eclipse/swt/program/Program.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT Program/carbon/org/eclipse/swt/program/Program.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Program/carbon/org/eclipse/swt/program/Program.java b/bundles/org.eclipse.swt/Eclipse SWT Program/carbon/org/eclipse/swt/program/Program.java index e4bb44dceb..a59a537210 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Program/carbon/org/eclipse/swt/program/Program.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Program/carbon/org/eclipse/swt/program/Program.java @@ -78,8 +78,9 @@ public static String [] getExtensions () { int [] lpcName = new int [] {lpName.length ()}; FILETIME ft = new FILETIME (); */ - int dwIndex = 0, count = 0; + int count = 0; /* AW + int dwIndex = 0; while (OS.RegEnumKeyEx (OS.HKEY_CLASSES_ROOT, dwIndex, lpName, lpcName, null, null, null, ft) != OS.ERROR_NO_MORE_ITEMS) { String extension = lpName.toString (0, lpcName [0]); lpcName [0] = lpName.length (); @@ -153,8 +154,9 @@ public static Program [] getPrograms () { int [] lpcName = new int [] {lpName.length ()}; FILETIME ft = new FILETIME (); */ - int dwIndex = 0, count = 0; + int count = 0; /* + int dwIndex = 0; while (OS.RegEnumKeyEx (OS.HKEY_CLASSES_ROOT, dwIndex, lpName, lpcName, null, null, null, ft) != OS.ERROR_NO_MORE_ITEMS) { String path = lpName.toString (0, lpcName [0]); lpcName [0] = lpName.length (); |