From: Mattias EngdegÄrd Date: Sun, 14 May 2023 09:17:15 +0000 (+0200) Subject: * lisp/w32-fns.el (w32--os-description): Fix minor logic error X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e1bb3c9758897ddf0d3906c86e92d691a9658364;p=emacs.git * lisp/w32-fns.el (w32--os-description): Fix minor logic error --- 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"))