pingus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pingus-CVS] [pingus] push by address@hidden - Improved error message on


From: pingus
Subject: [Pingus-CVS] [pingus] push by address@hidden - Improved error message on 2013-05-10 02:38 GMT
Date: Fri, 10 May 2013 02:38:32 +0000

Revision: 211378747b62
Author:   Ingo Ruhnke <address@hidden>
Date:     Thu May  9 19:38:07 2013
Log:      Improved error message

http://code.google.com/p/pingus/source/detail?r=211378747b62

Modified:
 /src/engine/display/surface.cpp

=======================================
--- /src/engine/display/surface.cpp     Thu May  9 19:23:14 2013
+++ /src/engine/display/surface.cpp     Thu May  9 19:38:07 2013
@@ -69,7 +69,7 @@
   SDL_Surface* surface = IMG_Load(pathname.get_sys_path().c_str());
   if (!surface)
   {
- raise_exception(std::runtime_error, "couldn't load: " << pathname.get_sys_path() << ": " << IMG_GetError()); + raise_exception(std::runtime_error, "couldn't load " << pathname.get_sys_path() << "\n IMG_GetError: " << IMG_GetError());
   }
   else
   {



reply via email to

[Prev in Thread] Current Thread [Next in Thread]