Skip to content

Commit b12b199

Browse files
committed
fbdoc: Update spellcheck.bas to work with the new ASpell headers
(CONSTness issues)
1 parent 60d12f3 commit b12b199

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/fbchkdoc/spellcheck.bas

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ sub WORDS_Clear()
4646
end sub
4747

4848
''
49-
sub WORDS_Add( byref word as string )
49+
sub WORDS_Add( byref word as const string )
5050
if( wordcount < MAX_WORDS ) then
5151
wordlist( wordcount ) = word
5252
wordcount += 1
@@ -118,9 +118,9 @@ end function
118118
function SpellCheck_Word( byref input_word as string ) as integer
119119

120120
dim as integer correct
121-
dim as AspellWordList ptr suggestions
121+
dim as const AspellWordList ptr suggestions
122122
dim as AspellStringEnumeration ptr elements
123-
dim as zstring ptr word
123+
dim as const zstring ptr word
124124

125125
function = FALSE
126126

0 commit comments

Comments
 (0)