[prev in list] [next in list] [prev in thread] [next in thread] 

List:       flightgear-cvs
Subject:    [Flightgear-cvslogs] CVS: FlightGear/src/Sound fg_fx.cxx, 1.22, 1.23
From:       Melchior Franz <mfranz () flightgear ! org>
Date:       2007-03-29 21:26:36
Message-ID: E1HX28i-0006mp-00 () baron ! me ! umn ! edu
[Download RAW message or body]

Update of /var/cvs/FlightGear-0.9/FlightGear/src/Sound
In directory baron:/tmp/cvs-serv25954/Sound

Modified Files:
	fg_fx.cxx 
Log Message:
fix spectacularly useless error messages


Index: fg_fx.cxx
===================================================================
RCS file: /var/cvs/FlightGear-0.9/FlightGear/src/Sound/fg_fx.cxx,v
retrieving revision 1.22
retrieving revision 1.23
diff -C 2 -r1.22 -r1.23
*** fg_fx.cxx	25 Apr 2006 18:48:59 -0000	1.22
--- fg_fx.cxx	29 Mar 2007 21:26:33 -0000	1.23
***************
*** 75,79 ****
     SGPath path( globals->get_fg_root() );
     if (path_str.empty()) {
!       SG_LOG(SG_GENERAL, SG_ALERT, "Incorrect path in configuration file.");
        return;
     }
--- 75,79 ----
     SGPath path( globals->get_fg_root() );
     if (path_str.empty()) {
!       SG_LOG(SG_GENERAL, SG_ALERT, "No path in /sim/sound/path");
        return;
     }
***************
*** 88,92 ****
     } catch (const sg_exception &) {
        SG_LOG(SG_GENERAL, SG_ALERT,
!        "Incorrect path specified in configuration file");
        return;
     }
--- 88,92 ----
     } catch (const sg_exception &) {
        SG_LOG(SG_GENERAL, SG_ALERT,
!        "Error reading file '" << path.str() << '\'');
        return;
     }


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-cvslogs mailing list
Flightgear-cvslogs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-cvslogs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic