mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-10-03 20:29:21 +02: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