fixing warning with linestipple setPattern: setting from a glushort