From 54de7c70eef38342c336f0a4544a32fa95c291c6 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 12 Jul 2020 00:00:58 -0600 Subject: [PATCH] Canvas: print item colors in hex when debugging --- libs/canvas/text.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/canvas/text.cc b/libs/canvas/text.cc index 0dc7134ca1..5d445ec657 100644 --- a/libs/canvas/text.cc +++ b/libs/canvas/text.cc @@ -310,7 +310,7 @@ Text::dump (ostream& o) const Item::dump (o); o << _canvas->indent() << '\t' << " text = " << _text << endl - << _canvas->indent() << " color = " << _color; + << _canvas->indent() << " color = 0x" << hex << _color << dec; o << endl; }