summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2023-05-14 11:17:15 +0200
committerMattias EngdegÄrd <mattiase@acm.org>2023-05-14 13:23:34 +0200
commite1bb3c9758897ddf0d3906c86e92d691a9658364 (patch)
tree9e9177b75dc1d6188da7e3ab4d3e4ee19f9c5fcd
parentad8a17e1bfd77d3107c16a53d47794194cbf2750 (diff)
downloademacs-e1bb3c9758897ddf0d3906c86e92d691a9658364.tar.gz
* lisp/w32-fns.el (w32--os-description): Fix minor logic error
-rw-r--r--lisp/w32-fns.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/w32-fns.el b/lisp/w32-fns.el
index bb19706129e..d9b91cfb6ea 100644
--- a/lisp/w32-fns.el
+++ b/lisp/w32-fns.el
@@ -331,7 +331,7 @@ names."
(vminor
(w32-read-registry 'HKLM key
"CurrentMinorVersionNumber")))
- (if (and vmajor vmajor)
+ (if (and vmajor vminor)
(format "%d.%d" vmajor vminor)
(w32-read-registry 'HKLM key "CurrentVersion")))))
(os-csd (w32-read-registry 'HKLM key "CSDVersion"))