mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
ColDescription: Don't use string literals when character literals are needed
This commit is contained in:
parent
f04cc0c9e6
commit
4f003cdb60
1 changed files with 8 additions and 8 deletions
|
@ -61,15 +61,15 @@ ColumnDescription::ColumnDescription ()
|
|||
std::string a3 = STRING_COLUMN_EXAMPLES_ANNO3;
|
||||
std::string a4 = STRING_COLUMN_EXAMPLES_ANNO4;
|
||||
|
||||
_examples = {d + "\n " + t + " " + a1
|
||||
+ "\n " + t + " " + a2
|
||||
+ "\n " + t + " " + a3
|
||||
+ "\n " + t + " " + a4,
|
||||
_examples = {d + "\n " + t + ' ' + a1
|
||||
+ "\n " + t + ' ' + a2
|
||||
+ "\n " + t + ' ' + a3
|
||||
+ "\n " + t + ' ' + a4,
|
||||
d,
|
||||
d + " " + t + " " + a1
|
||||
+ " " + t + " " + a2
|
||||
+ " " + t + " " + a3
|
||||
+ " " + t + " " + a4,
|
||||
d + ' ' + t + ' ' + a1
|
||||
+ ' ' + t + ' ' + a2
|
||||
+ ' ' + t + ' ' + a3
|
||||
+ ' ' + t + ' ' + a4,
|
||||
d.substr (0, 20) + "...",
|
||||
d + " [4]",
|
||||
d.substr (0, 20) + "... [4]"};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue