Compare commits

..

No commits in common. "f05103d871ae7c374a1179131d61f4cbb17d7ede" and "8a47f3be5d8d097fa8f552faa21606f2ac58b2c3" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@ OBJECTS = $(addprefix ${OBJDIR}/,$(patsubst %.cpp,%.cpp.o,${SOURCES}))
all: KoreanNumbers
KoreanNumbers: ${OBJECTS}
$(CXX) $(CXXFLAGS) -fPIE -pie -o KoreanNumbers $^
$(CXX) $(CXXFLAGS) -o KoreanNumbers $^
${OBJDIR}/%.cpp.o: %.cpp
@mkdir -p $(dir $@)

View file

@ -143,7 +143,7 @@ std::u8string value_to_korean(unsigned long long value) {
}
if(temp = (value / 10000) % 10; temp > 0) {
if(!s.empty()) { s.push_back(' '); }
if(temp > 0) { s.append(digit_to_kword(temp)); }
if(temp != 1) { s.append(digit_to_kword(temp)); }
s.append(man);
} else if (requires_man) {
s.push_back(' ');