summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/tree-custom-draw-items.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/tree-custom-draw-items.cxx b/examples/tree-custom-draw-items.cxx
index 7c5265ba9..45bde388e 100644
--- a/examples/tree-custom-draw-items.cxx
+++ b/examples/tree-custom-draw-items.cxx
@@ -97,6 +97,7 @@ public:
X += 35;
// Render the date and time, one over the other
fl_font(labelfont(), 8); // small font
+ fl_color(fg);
const struct tm *tm = GetTimeStruct();
char s[80];
sprintf(s, "Date: %02d/%02d/%02d", tm->tm_mon+1, tm->tm_mday, tm->tm_year % 100);