Author: ai0867
Date: Thu May 28 22:47:56 2009
New Revision: 35921

URL: http://svn.gna.org/viewcvs/wesnoth?rev=35921&view=rev
Log:
Deprecate '@' style includes, suggest usage of '~'.

Modified:
    trunk/src/filesystem.cpp

Modified: trunk/src/filesystem.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/filesystem.cpp?rev=35921&r1=35920&r2=35921&view=diff
==============================================================================
--- trunk/src/filesystem.cpp (original)
+++ trunk/src/filesystem.cpp Thu May 28 22:47:56 2009
@@ -1063,6 +1063,11 @@
 
        bool already_found = false;
 
+       if (filename[0] == '@')
+       {
+               ERR_FS << filename << " style includes are deprecated and will 
be removed in 1.7.3. Use '~' instead.\n";
+       }
+
        if (filename[0] == '~' || filename[0] == '@')
        {
                // If the filename starts with '~' or '@', look in the user 
data directory.


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to