Merge lp:~amdmi3/stratagus/macro-space into lp:stratagus

Proposed by Dmitry Marakasov
Status: Needs review
Proposed branch: lp:~amdmi3/stratagus/macro-space
Merge into: lp:stratagus
Diff against target: 34 lines (+3/-3)
2 files modified
src/ai/ai_plan.cpp (+1/-1)
src/stratagus/script.cpp (+2/-2)
To merge this branch: bzr merge lp:~amdmi3/stratagus/macro-space
Reviewer Review Type Date Requested Status
Stratagus Pending
Review via email: mp+259060@code.launchpad.net
To post a comment you must log in.

Unmerged revisions

9013. By Dmitry Marakasov

[-] Fix compilation with c++11 by adding space between string literal and macro

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'src/ai/ai_plan.cpp'
--- src/ai/ai_plan.cpp 2015-02-26 12:50:55 +0000
+++ src/ai/ai_plan.cpp 2015-05-13 23:51:37 +0000
@@ -343,7 +343,7 @@
343int AiForce::PlanAttack()343int AiForce::PlanAttack()
344{344{
345 CPlayer &player = *AiPlayer->Player;345 CPlayer &player = *AiPlayer->Player;
346 DebugPrint("%d: Planning for force #%lu of player #%d\n"_C_ player.Index346 DebugPrint("%d: Planning for force #%lu of player #%d\n" _C_ player.Index
347 _C_(long unsigned int)(this - & (AiPlayer->Force[0])) _C_ player.Index);347 _C_(long unsigned int)(this - & (AiPlayer->Force[0])) _C_ player.Index);
348348
349 TerrainTraversal transporterTerrainTraversal;349 TerrainTraversal transporterTerrainTraversal;
350350
=== modified file 'src/stratagus/script.cpp'
--- src/stratagus/script.cpp 2015-03-08 20:00:56 +0000
+++ src/stratagus/script.cpp 2015-05-13 23:51:37 +0000
@@ -758,7 +758,7 @@
758 lua_pop(l, 1); // table.758 lua_pop(l, 1); // table.
759 } else {759 } else {
760 lua_pop(l, 1);760 lua_pop(l, 1);
761 LuaError(l, "unknow condition '%s'"_C_ key);761 LuaError(l, "unknow condition '%s'" _C_ key);
762 }762 }
763 } else {763 } else {
764 LuaError(l, "Parse Error in ParseNumber");764 LuaError(l, "Parse Error in ParseNumber");
@@ -872,7 +872,7 @@
872 res->D.PlayerName = CclParseNumberDesc(l);872 res->D.PlayerName = CclParseNumberDesc(l);
873 } else {873 } else {
874 lua_pop(l, 1);874 lua_pop(l, 1);
875 LuaError(l, "unknow condition '%s'"_C_ key);875 LuaError(l, "unknow condition '%s'" _C_ key);
876 }876 }
877 } else {877 } else {
878 LuaError(l, "Parse Error in ParseString");878 LuaError(l, "Parse Error in ParseString");

Subscribers

People subscribed via source and target branches

to status/vote changes: