mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
C -> C++
- Integrated wcwidth6.c more into text.cpp. - Moved wcwidth6.c to wcwidth6.cpp, to cure some strange build issue.
This commit is contained in:
parent
4baaf52610
commit
d9e24098b5
4 changed files with 3 additions and 2 deletions
|
@ -44,7 +44,7 @@ set (task_SRCS A3.cpp A3.h
|
||||||
text.cpp text.h
|
text.cpp text.h
|
||||||
utf8.cpp utf8.h
|
utf8.cpp utf8.h
|
||||||
util.cpp util.h
|
util.cpp util.h
|
||||||
wcwidth6.c)
|
wcwidth6.cpp)
|
||||||
|
|
||||||
add_library (task STATIC ${task_SRCS})
|
add_library (task STATIC ${task_SRCS})
|
||||||
add_executable (task_executable main.cpp)
|
add_executable (task_executable main.cpp)
|
||||||
|
|
|
@ -48,7 +48,6 @@ static const char* newline = "\n";
|
||||||
static const char* noline = "";
|
static const char* noline = "";
|
||||||
|
|
||||||
static void replace_positional (std::string&, const std::string&, const std::string&);
|
static void replace_positional (std::string&, const std::string&, const std::string&);
|
||||||
extern "C" int mk_wcwidth (wchar_t);
|
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
void wrapText (
|
void wrapText (
|
||||||
|
|
|
@ -91,5 +91,7 @@ std::string rightJustifyZero (const int, const int);
|
||||||
std::string rightJustify (const int, const int);
|
std::string rightJustify (const int, const int);
|
||||||
std::string rightJustify (const std::string&, const int);
|
std::string rightJustify (const std::string&, const int);
|
||||||
|
|
||||||
|
int mk_wcwidth (wchar_t);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue