summaryrefslogtreecommitdiffstats
path: root/library/reg/pkgIndex.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'library/reg/pkgIndex.tcl')
-rwxr-xr-xlibrary/reg/pkgIndex.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/reg/pkgIndex.tcl b/library/reg/pkgIndex.tcl
index 6fa8eda..4b269e6 100755
--- a/library/reg/pkgIndex.tcl
+++ b/library/reg/pkgIndex.tcl
@@ -1,5 +1,5 @@
if {![package vsatisfies [package provide Tcl] 8]} return
-if {[string compare [info sharedlibextension] .dll]} return
+if {[info sharedlibextension] != ".dll"} return
if {[info exists ::tcl_platform(debug)]} {
package ifneeded registry 1.2.1 \
[list load [file join $dir tclreg12g.dll] registry]