Only BitDisplay now uses dashes instead of Z
[Mograsim.git] / plugins / net.mograsim.logic.model / src / net / mograsim / logic / model / model / components / atomic / ModelManualSwitch.java
index d4e0437..04d3b42 100644 (file)
@@ -142,7 +142,7 @@ public class ModelManualSwitch extends ModelComponent
                if (foreground != null)
                        gc.setForeground(foreground);
                gc.drawRectangle(getBounds());
-               String label = BitVectorFormatter.formatAsString(manualSwitch == null ? null : getOutValues());
+               String label = BitVectorFormatter.formatAsString(manualSwitch == null ? null : getOutValues(), false);
                Font oldFont = gc.getFont();
                Font labelFont = new Font(oldFont.getName(), fontHeight, oldFont.getStyle());
                gc.setFont(labelFont);