mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-11-27 12:39:52 +01:00
win32: Only print one OS version
Exit the version-checking loop after the first successful check instead of trying again.
This commit is contained in:
@@ -1508,6 +1508,8 @@ get_windows_version (gboolean with_windows)
|
|||||||
}
|
}
|
||||||
|
|
||||||
g_string_append (version, versions[i].spversion);
|
g_string_append (version, versions[i].spversion);
|
||||||
|
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user