mirror of
https://github.com/atom/atom.git
synced 2026-02-19 02:44:29 -05:00
Remove instances of getPositiveInt()
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user