openbsd-ports/www/analog/patches/patch-src_tree_c
2022-03-11 20:09:36 +00:00

15 lines
430 B
Plaintext

--- src/tree.c.orig Sun Dec 19 06:51:31 2004
+++ src/tree.c Wed May 30 16:28:41 2007
@@ -871,7 +871,10 @@ void Pnextname(char **name, char **nameend, char *whol
else
*name = "Windows:Unknown Windows";
}
- else if (*c >= '6' && *c <= '9')
+ else if (*c == '6') {
+ *name = "Windows:Windows Vista";
+ }
+ else if (*c >= '7' && *c <= '9')
*name = "Windows:Unknown Windows";
else
*name = "Windows:Windows NT";