Merged a spelling fix patch kindly provided by Alessio Treglia for Bug #34.
authorAlexander Koenig <alex@lisas.de>
Wed, 12 Mar 2014 21:09:42 +0000 (22:09 +0100)
committerAlexander Koenig <alex@lisas.de>
Wed, 12 Mar 2014 21:09:42 +0000 (22:09 +0100)
src/main.cc
src/tX_audiodevice.cc
src/tX_dialog.cc

index 4acdbaad9c4f1f58e9305b096b6a75bc83d6b896..118d3db1b91d1e4293636be32ae924a4c4faf6cf 100644 (file)
@@ -181,7 +181,7 @@ int main(int argc, char **argv)
 #ifdef USE_CAPABILITIES        
        if (!geteuid()) {
                if (prctl(PR_SET_KEEPCAPS, 1, -1, -1, -1)) {
-                       tX_error("failed to keep capabilites.");
+                       tX_error("failed to keep capabilities.");
                }
                set_nice_capability(CAP_PERMITTED);
        }
index 0520b9f83c0c91cf74d995472291b800631bd4a6..905aa3f253a82cd1244befb110244e9e3217dbcc 100644 (file)
@@ -272,7 +272,7 @@ int tX_audiodevice_alsa :: open()
        long unsigned int buffer_size;
 
        if (snd_pcm_hw_params_get_buffer_size(hw_params, &buffer_size) < 0) {
-               tX_error("ALSA: failed to retreive buffer size");
+               tX_error("ALSA: failed to retrieve buffer size");
                return -1;
        }
        
@@ -284,7 +284,7 @@ int tX_audiodevice_alsa :: open()
        }
        
        if (snd_pcm_hw_params_get_period_size(hw_params, &period_size, &dir)<0) {
-               tX_error("ALSA: failed to retreive period size");
+               tX_error("ALSA: failed to retrieve period size");
                return -1;
        }
        
index cbb5db8ab8266d1ab5df8e06f3a9651b3bdaa92e..84b37e39428354253bf2632af7b87c965914bd9d 100644 (file)
@@ -655,7 +655,7 @@ void show_about(int nag)
                                break;
                        
                        default:
-                               sprintf(prio_str, "UNKOWN (%i)", policy);
+                               sprintf(prio_str, "UNKNOWN (%i)", policy);
                }
                
                sprintf(buffer, "Audio engine scheduling policy: %s.\nScheduling with realtime priority is %s.", prio_str, s_enabled ? "enabled" : "disabled");