Remove instances of getPositiveInt()

This commit is contained in:
Ben Ogle
2014-09-25 14:01:50 -07:00
parent 94d470002b
commit e607d45f0d
2 changed files with 3 additions and 4 deletions

View File

@@ -439,7 +439,7 @@ class DisplayBuffer extends Model
getSoftWrapColumn: ->
if atom.config.get('editor.softWrapAtPreferredLineLength')
Math.min(@getEditorWidthInChars(), atom.config.getPositiveInt('editor.preferredLineLength', @getEditorWidthInChars()))
Math.min(@getEditorWidthInChars(), atom.config.get('editor.preferredLineLength'))
else
@getEditorWidthInChars()