diff options
author | berkeviktor@aol.com <berkeviktor@aol.com> | 2011-05-30 21:15:39 +0200 |
---|---|---|
committer | berkeviktor@aol.com <berkeviktor@aol.com> | 2011-05-30 21:15:39 +0200 |
commit | b85f311ddd7a1275e49289ba935617a163062790 (patch) | |
tree | 01ef2482433adcd7ab748eb4cc7561214c294b26 /src/fe-gtk | |
parent | bfb61201168844e8432b328332b431d8dbca2a2a (diff) |
move cpu arch stuff to separate function
Diffstat (limited to 'src/fe-gtk')
-rw-r--r-- | src/fe-gtk/about.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/fe-gtk/about.c b/src/fe-gtk/about.c index 453d405c..6e69b646 100644 --- a/src/fe-gtk/about.c +++ b/src/fe-gtk/about.c @@ -88,19 +88,6 @@ menu_about (GtkWidget * wid, gpointer sess) char buf[512]; const char *locale = NULL; extern GtkWindow *parent_window; /* maingui.c */ - SYSTEM_INFO si; - unsigned short int cpu_arch; - - GetSystemInfo (&si); - - if (si.wProcessorArchitecture == 9) - { - cpu_arch = 64; - } - else - { - cpu_arch = 86; - } if (about) { @@ -146,7 +133,7 @@ menu_about (GtkWidget * wid, gpointer sess) gtk_minor_version, gtk_micro_version, (portable_mode () ? "Yes" : "No"), - cpu_arch + get_cpu_arch () #else "%s\n\n" "%s\n" |