Prep for 2019 release
[fanfix.git] / src / jexer / TLabel.java
index 71530f0c33b4f44c94155d212f28f94f7dca1bd9..69e1efd22b01024e6ca3348c87f325197bd4b1a9 100644 (file)
@@ -3,7 +3,7 @@
  *
  * The MIT License (MIT)
  *
- * Copyright (C) 2017 Kevin Lamonte
+ * Copyright (C) 2019 Kevin Lamonte
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -124,7 +124,7 @@ public class TLabel extends TWidget {
             CellAttributes background = getWindow().getBackground();
             color.setBackColor(background.getBackColor());
         }
-        getScreen().putStringXY(0, 0, label, color);
+        putStringXY(0, 0, label, color);
     }
 
     // ------------------------------------------------------------------------