summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2007-07-07 21:14:36 +0000
committerpeter1138 <peter1138@openttd.org>2007-07-07 21:14:36 +0000
commit00c6a8f0765638fc0eaef666c070c00607dcdee3 (patch)
tree6b73dce2c9cc65291a1bd6e2698fe53f1c2c98af
parent2723db28844be0c3413e6e02aa11f0ecc9144ab0 (diff)
downloadopenttd-00c6a8f0765638fc0eaef666c070c00607dcdee3.tar.xz
(svn r10472) -Fix (r10741): typos prevented compilation
-rw-r--r--src/music/dmusic.h2
-rw-r--r--src/music/qtmidi.h2
-rw-r--r--src/music/win32_m.h2
-rw-r--r--src/video/win32_v.h1
4 files changed, 4 insertions, 3 deletions
diff --git a/src/music/dmusic.h b/src/music/dmusic.h
index 6fed3beea..b04e42d9f 100644
--- a/src/music/dmusic.h
+++ b/src/music/dmusic.h
@@ -22,7 +22,7 @@ public:
class FMusicDriver_DMusic: public MusicDriverFactory<FMusicDriver_DMusic> {
public:
- static const int priorty = 10;
+ static const int priority = 10;
/* virtual */ const char *GetName() { return "dmusic"; }
/* virtual */ const char *GetDescription() { return "DirectMusic MIDI Driver"; }
/* virtual */ Driver *CreateInstance() { return new MusicDriver_DMusic(); }
diff --git a/src/music/qtmidi.h b/src/music/qtmidi.h
index 3aeac8b32..1106b1508 100644
--- a/src/music/qtmidi.h
+++ b/src/music/qtmidi.h
@@ -22,7 +22,7 @@ public:
class FMusicDriver_QtMidi: public MusicDriverFactory<FMusicDriver_QtMidi> {
public:
- static const int priorty = 10;
+ static const int priority = 10;
/* virtual */ const char *GetName() { return "qt"; }
/* virtual */ const char *GetDescription() { return "QuickTime MIDI Driver"; }
/* virtual */ Driver *CreateInstance() { return new MusicDriver_QtMidi(); }
diff --git a/src/music/win32_m.h b/src/music/win32_m.h
index 35a79c3e7..9d6684738 100644
--- a/src/music/win32_m.h
+++ b/src/music/win32_m.h
@@ -22,7 +22,7 @@ public:
class FMusicDriver_Win32: public MusicDriverFactory<FMusicDriver_Win32> {
public:
- static const int priorty = 5;
+ static const int priority = 5;
/* virtual */ const char *GetName() { return "win32"; }
/* virtual */ const char *GetDescription() { return "Win32 Music Driver"; }
/* virtual */ Driver *CreateInstance() { return new MusicDriver_Win32(); }
diff --git a/src/video/win32_v.h b/src/video/win32_v.h
index 1f412ecb0..11ee523ef 100644
--- a/src/video/win32_v.h
+++ b/src/video/win32_v.h
@@ -22,6 +22,7 @@ public:
class FVideoDriver_Win32: public VideoDriverFactory<FVideoDriver_Win32> {
public:
+ static const int priority = 10;
/* virtual */ const char *GetName() { return "win32"; }
/* virtual */ const char *GetDescription() { return "Win32 GDI Video Driver"; }
/* virtual */ Driver *CreateInstance() { return new VideoDriver_Win32(); }