ansigo

Simple ANSi to PNG converter written in pure Go
Log | Files | Refs | README | LICENSE

commit 1eaaf3ec0d75ec23ea82b18ae262ece0111b7687
parent 24941d350808fcea2dbec5f6ec6882f83d8579b4
Author: Frederic Cambus <fcambus@users.sourceforge.net>
Date:   Fri,  9 Mar 2012 00:16:07 +0100

Variable names harmonization

Diffstat:
Mansigo.go | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/ansigo.go b/ansigo.go @@ -145,12 +145,12 @@ func main() { // Cursor Backward if ansiSequenceCharacter == 'D' { - value, _ := strconv.Atoi(string(ansiSequence)) - if value == 0 { - value++ + valueX, _ := strconv.Atoi(string(ansiSequence)) + if valueX == 0 { + valueX++ } - ansi.positionX = ansi.positionX - value + ansi.positionX = ansi.positionX - valueX if ansi.positionX < 0 { ansi.positionX = 0 }