]> git.mxchange.org Git - flightgear.git/blobdiff - src/Sound/voice.cxx
Don't restore initial screen geometry because there is nothing in fg_os* to resize...
[flightgear.git] / src / Sound / voice.cxx
index 77b40821c89457903635d2c9e3f45f79f27026b2..ae23ae88b7738cad042b0525d21eea406d0d57a4 100644 (file)
 //
 // $Id$
 
+#include <Main/globals.hxx>
 #include <sstream>
 #include <simgear/compiler.h>
 #include <Main/fg_props.hxx>
-#include <Main/globals.hxx>
 #include "voice.hxx"
 
 #define VOICE "/sim/sound/voices"
@@ -118,9 +118,10 @@ FGVoiceMgr::FGVoice::FGVoice(FGVoiceMgr *mgr, const SGPropertyNode_ptr node) :
                char buf[4];
                int len = _sock->read(buf, 3);
                if (len != 3 || buf[0] != 'L' || buf[1] != 'P') {
-                       SG_LOG(SG_IO, SG_ALERT, "VOICE: something is listening to "
-                               << host << ':' << port << "', but it doesn't seem "
-                               "to be Festival");
+                       SG_LOG(SG_IO, SG_ALERT, "VOICE: unexpected or no response from `"
+                                       << host << ':' << port << "'. Either it's not " << endl
+                                       << "       Festival listening, or Festival couldn't open a "
+                                       "sound device.");
                        _connected = false;
                        return;
                }