mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
libshared: Updated to 0dbe6c2818d4dc99f5d0089d6afb1559ed05ebf7
This commit is contained in:
parent
d1a7c313c7
commit
9051e41af5
3 changed files with 3 additions and 4 deletions
|
@ -29,7 +29,6 @@ set (libshared_SRCS libshared/src/Args.cpp libshared/src/Args.h
|
||||||
libshared/src/Duration.cpp libshared/src/Duration.h
|
libshared/src/Duration.cpp libshared/src/Duration.h
|
||||||
libshared/src/FS.cpp libshared/src/FS.h
|
libshared/src/FS.cpp libshared/src/FS.h
|
||||||
libshared/src/JSON.cpp libshared/src/JSON.h
|
libshared/src/JSON.cpp libshared/src/JSON.h
|
||||||
libshared/src/JSON2.cpp libshared/src/JSON2.h
|
|
||||||
libshared/src/Lexer.cpp libshared/src/Lexer.h
|
libshared/src/Lexer.cpp libshared/src/Lexer.h
|
||||||
libshared/src/Msg.cpp libshared/src/Msg.h
|
libshared/src/Msg.cpp libshared/src/Msg.h
|
||||||
libshared/src/Palette.cpp libshared/src/Palette.h
|
libshared/src/Palette.cpp libshared/src/Palette.h
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
|
|
||||||
#include <cmake.h>
|
#include <cmake.h>
|
||||||
#include <FS.h>
|
#include <FS.h>
|
||||||
#include <JSON2.h>
|
#include <JSON.h>
|
||||||
#include <shared.h>
|
#include <shared.h>
|
||||||
#include <format.h>
|
#include <format.h>
|
||||||
#include <unicode.h>
|
#include <unicode.h>
|
||||||
|
@ -134,7 +134,7 @@ static bool setConfigVariable (Database& database, const Rules& rules, std::stri
|
||||||
lines.push_back ("");
|
lines.push_back ("");
|
||||||
|
|
||||||
// Add new line.
|
// Add new line.
|
||||||
lines.push_back (name + " = " + JSON2::encode (value));
|
lines.push_back (name + " = " + json::encode (value));
|
||||||
|
|
||||||
database.undoTxnStart ();
|
database.undoTxnStart ();
|
||||||
database.undoTxn ("config", "", lines.back ());
|
database.undoTxn ("config", "", lines.back ());
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit bfb0e90e0c94918b86dd16d8b0e05a74bab8fb75
|
Subproject commit 0dbe6c2818d4dc99f5d0089d6afb1559ed05ebf7
|
Loading…
Add table
Add a link
Reference in a new issue