libhsared: migrating from local to libshared
This commit is contained in:
@@ -31,7 +31,8 @@
|
||||
#include <algorithm>
|
||||
#include <main.h>
|
||||
#include <Lexer.h>
|
||||
#include <text.h>
|
||||
#include <shared.h>
|
||||
#include <format.h>
|
||||
#include <i18n.h>
|
||||
#include <string>
|
||||
|
||||
@@ -130,8 +131,7 @@ Color::Color (const std::string& spec)
|
||||
: _value (0)
|
||||
{
|
||||
// Split spec into words.
|
||||
std::vector <std::string> words;
|
||||
split (words, spec, ' ');
|
||||
auto words = split (spec, ' ');
|
||||
|
||||
// Construct the color as two separate colors, then blend them later. This
|
||||
// make it possible to declare a color such as "color1 on black", and have
|
||||
|
||||
Reference in New Issue
Block a user