protected void unIndent() {
        indent--;
        indent = Math.max(0, indent);
    }
Decrease indentation with a check so the indent is never negative.
jme3-core/src/main/java/com/jme3/shader/Glsl100ShaderGenerator.java