mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-29 22:27:13 +09:00
If a setting is not defined, use the default, not the zero value
This commit is contained in:
@@ -211,7 +211,7 @@ func (c *Cursor) SelectTo(loc int) {
|
||||
c.curSelection[1] = loc
|
||||
} else {
|
||||
c.curSelection[0] = loc
|
||||
c.curSelection[1] = c.origSelection[0] + 1
|
||||
c.curSelection[1] = c.origSelection[0]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user