Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9b5a693

Browse files
committed
death to whitespace
1 parent cea9e14 commit 9b5a693

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

plugins/autolabor/autohauler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ DFhackCExport command_result plugin_onupdate ( color_ostream &out )
471471

472472
state_count[dwarf_info[dwarf].state]++;
473473

474-
INFO(cycle, out).print("Dwarf %i \"%s\": state %s\n",
474+
INFO(cycle, out).print("Dwarf %i \"%s\": state %s\n",
475475
dwarf, dwarfs[dwarf]->name.first_name.c_str(), state_names[dwarf_info[dwarf].state]);
476476
}
477477

plugins/autolabor/autolabor.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -678,9 +678,9 @@ static void assign_labor(unit_labor::unit_labor labor,
678678
dwarfs[dwarf]->military.pickup_flags.bits.update = 1;
679679
}
680680

681-
TRACE(cycle, out).print("Dwarf % i \"%s\" assigned %s: value %i %s %s\n",
682-
dwarf, dwarfs[dwarf]->name.first_name.c_str(), ENUM_KEY_STR(unit_labor, labor).c_str(), values[dwarf],
683-
dwarf_info[dwarf].trader ? "(trader)" : "",
681+
TRACE(cycle, out).print("Dwarf % i \"%s\" assigned %s: value %i %s %s\n",
682+
dwarf, dwarfs[dwarf]->name.first_name.c_str(), ENUM_KEY_STR(unit_labor, labor).c_str(), values[dwarf],
683+
dwarf_info[dwarf].trader ? "(trader)" : "",
684684
dwarf_info[dwarf].diplomacy ? "(diplomacy)" : "");
685685

686686
if (dwarf_info[dwarf].state == IDLE || dwarf_info[dwarf].state == BUSY || dwarf_info[dwarf].state == EXCLUSIVE)
@@ -742,7 +742,7 @@ DFhackCExport command_result plugin_onupdate ( color_ostream &out )
742742
{
743743
df::building_tradedepotst* depot = (df::building_tradedepotst*) build;
744744
trader_requested = trader_requested || depot->trade_flags.bits.trader_requested;
745-
INFO(cycle,out).print(trader_requested
745+
INFO(cycle,out).print(trader_requested
746746
? "Trade depot found and trader requested, trader will be excluded from all labors.\n"
747747
: "Trade depot found but trader is not requested.\n"
748748
);
@@ -822,7 +822,7 @@ DFhackCExport command_result plugin_onupdate ( color_ostream &out )
822822
if (p1 || p2)
823823
{
824824
dwarf_info[dwarf].diplomacy = true;
825-
INFO(cycle, out).print("Dwarf %i \"%s\" has a meeting, will be cleared of all labors\n",
825+
INFO(cycle, out).print("Dwarf %i \"%s\" has a meeting, will be cleared of all labors\n",
826826
dwarf, dwarfs[dwarf]->name.first_name.c_str());
827827
break;
828828
}
@@ -902,7 +902,7 @@ DFhackCExport command_result plugin_onupdate ( color_ostream &out )
902902

903903
state_count[dwarf_info[dwarf].state]++;
904904

905-
INFO(cycle, out).print("Dwarf %i \"%s\": penalty %i, state %s\n",
905+
INFO(cycle, out).print("Dwarf %i \"%s\": penalty %i, state %s\n",
906906
dwarf, dwarfs[dwarf]->name.first_name.c_str(), dwarf_info[dwarf].mastery_penalty, state_names[dwarf_info[dwarf].state]);
907907
}
908908

@@ -1010,7 +1010,7 @@ DFhackCExport command_result plugin_onupdate ( color_ostream &out )
10101010
if (dwarf_info[dwarf].state == IDLE || dwarf_info[dwarf].state == BUSY || dwarf_info[dwarf].state == EXCLUSIVE)
10111011
labor_infos[labor].active_dwarfs++;
10121012

1013-
TRACE(cycle, out).print("Dwarf %i \"%s\" assigned %s: hauler\n",
1013+
TRACE(cycle, out).print("Dwarf %i \"%s\" assigned %s: hauler\n",
10141014
dwarf, dwarfs[dwarf]->name.first_name.c_str(), ENUM_KEY_STR(unit_labor, labor).c_str());
10151015
}
10161016

0 commit comments

Comments
 (0)