summaryrefslogtreecommitdiffstats
path: root/windows.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-10-07 09:37:57 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-10-07 09:39:25 -0700
commit4e6dd75d11f497f9de97fad578a05b43baf6ab36 (patch)
tree15c6586712d0d1197da5fe1f5aad9b2beeddfc85 /windows.c
parentedd2db688619aedf5efb10c231593591c963fc0f (diff)
downloadsubsurface-4e6dd75d11f497f9de97fad578a05b43baf6ab36.tar.gz
Remove feature checking
We needed this in Gtk version as we were using a system font to show the stars and that was missing on some ancient Windows versions. With the Qt version we actually draw the stars so this has become obsolete. Suggested-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'windows.c')
-rw-r--r--windows.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/windows.c b/windows.c
index cd1acf368..0c117746d 100644
--- a/windows.c
+++ b/windows.c
@@ -89,21 +89,6 @@ void subsurface_command_line_exit(int *argc, char ***argv)
free(*argv);
}
-/* check if we are running a newer OS version */
-bool subsurface_os_feature_available(os_feature_t f)
-{
- switch (f) {
- case UTF8_FONT_WITH_STARS:
- if ((GetVersion() & 0xff) < 6)
- return FALSE; /* version less than Vista */
- else
- return TRUE;
- break;
- default:
- return TRUE;
- }
-}
-
int enumerate_devices (device_callback_t callback, void *userdata)
{
// Open the registry key.