changes
This commit is contained in:
parent
9ca1d24d30
commit
b0a62c40b5
2 changed files with 6 additions and 5 deletions
8
Makefile
8
Makefile
|
|
@ -1,10 +1,10 @@
|
|||
CODE = amount.cc ledger.cc parse.cc reports.cc
|
||||
OBJS = $(patsubst %.cc,%.o,$(CODE))
|
||||
CXX = cc
|
||||
#CXX = g++
|
||||
#CXX = cc
|
||||
CXX = g++
|
||||
CFLAGS = #-Wall -ansi -pedantic
|
||||
#DFLAGS = -O3 -fomit-frame-pointer
|
||||
DFLAGS = -g -DDEBUG=1
|
||||
DFLAGS = -O3 -fomit-frame-pointer
|
||||
#DFLAGS = -g -DDEBUG=1
|
||||
INCS = -I/sw/include -I/usr/include/gcc/darwin/3.3/c++ -I/usr/include/gcc/darwin/3.3/c++/ppc-darwin
|
||||
LIBS = -L/sw/lib -lgmpxx -lgmp -lpcre
|
||||
|
||||
|
|
|
|||
|
|
@ -190,7 +190,8 @@ static void display_total(std::ostream& out, totals& balance,
|
|||
|
||||
out << " " << acct->as_str() << std::endl;
|
||||
} else {
|
||||
for (int i = 0; i < level + 1; i++)
|
||||
out << " ";
|
||||
for (int i = 0; i < level; i++)
|
||||
out << " ";
|
||||
|
||||
assert(acct->parent);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue