Changeset 129


Ignore:
Timestamp:
10/13/02 18:21:46 (19 years ago)
Author:
piso
Message:

getCorrectIndentation(): indentation must be >= 0.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/org/armedbear/j/LispMode.java

    r120 r129  
    33 *
    44 * Copyright (C) 1998-2002 Peter Graves
    5  * $Id: LispMode.java,v 1.2 2002-10-13 16:51:57 piso Exp $
     5 * $Id: LispMode.java,v 1.3 2002-10-13 18:21:46 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    127127                --depth;
    128128        }
    129         return buffer.getIndentSize() * depth;
     129        if (depth > 0)
     130            return buffer.getIndentSize() * depth;
     131        return 0;
    130132    }
    131133
Note: See TracChangeset for help on using the changeset viewer.