branch | jv |
changeset 5417 | 213089a29fb8 |
parent 5395 | fc9336b15c5c |
parent 5412 | d248d42bac05 |
child 5444 | cd4f2b359bfe |
--- a/TextView.st Wed Sep 02 06:46:05 2015 +0200 +++ b/TextView.st Fri Sep 04 06:43:27 2015 +0100 @@ -1,5 +1,3 @@ -"{ Encoding: utf8 }" - " COPYRIGHT (c) 1989 by Claus Gittinger All Rights Reserved @@ -1229,7 +1227,7 @@ (pref match:fontsEncoding) ifTrue:[ ^ self ]. - (CharacterEncoder isEncoding:pref subSetOf:fontsEncoding) ifTrue:[ + (fontsEncoding notNil and:[CharacterEncoder isEncoding:pref subSetOf:fontsEncoding]) ifTrue:[ ^ self ].