summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/Log.cpp10
-rw-r--r--src/gui/Port.hpp1
-rw-r--r--src/serialisation/Serialiser.cpp2
3 files changed, 6 insertions, 7 deletions
diff --git a/src/Log.cpp b/src/Log.cpp
index 402e4609..6f8fe841 100644
--- a/src/Log.cpp
+++ b/src/Log.cpp
@@ -23,12 +23,12 @@ namespace Ingen {
static const char* const ANSI_RESET = "\033[0m";
static const char* const ANSI_RED = "\033[0;31m";
-static const char* const ANSI_GREEN = "\033[0;32m";
+//static const char* const ANSI_GREEN = "\033[0;32m";
static const char* const ANSI_YELLOW = "\033[0;33m";
-static const char* const ANSI_BLUE = "\033[0;34m";
-static const char* const ANSI_MAGENTA = "\033[0;35m";
-static const char* const ANSI_CYAN = "\033[0;36m";
-static const char* const ANSI_WHITE = "\033[0;37m";
+//static const char* const ANSI_BLUE = "\033[0;34m";
+//static const char* const ANSI_MAGENTA = "\033[0;35m";
+//static const char* const ANSI_CYAN = "\033[0;36m";
+//static const char* const ANSI_WHITE = "\033[0;37m";
Log::Log(LV2_Log_Log* log, URIs& uris)
: _log(log)
diff --git a/src/gui/Port.hpp b/src/gui/Port.hpp
index 24cddd4e..a8d16095 100644
--- a/src/gui/Port.hpp
+++ b/src/gui/Port.hpp
@@ -88,7 +88,6 @@ private:
App& _app;
WPtr<const Client::PortModel> _port_model;
- bool _pressed : 1;
bool _entered : 1;
bool _flipped : 1;
};
diff --git a/src/serialisation/Serialiser.cpp b/src/serialisation/Serialiser.cpp
index a8140c23..425ac00f 100644
--- a/src/serialisation/Serialiser.cpp
+++ b/src/serialisation/Serialiser.cpp
@@ -328,7 +328,7 @@ Serialiser::Impl::serialise_graph(SPtr<const Node> graph,
Raul::Symbol symbol("_");
Node::Properties::const_iterator s = graph->properties().find(uris.lv2_symbol);
if (s == graph->properties().end()
- || !s->second.type() == _world.forge().String
+ || s->second.type() != _world.forge().String
|| !Raul::Symbol::is_valid(s->second.ptr<char>())) {
const std::string base = Glib::path_get_basename(
_model->base_uri().to_c_string());