Skip to content

Commit 0edd0a8

Browse files
committedDec 31, 2019
Merge branch 'master' of git.sv.gnu.org:/srv/git/gforth
2 parents 1e23f1a + c7f6b39 commit 0edd0a8

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed
 

‎minos2/md-viewer.fs

+2-2
Original file line numberDiff line numberDiff line change
@@ -253,13 +253,13 @@ previous
253253
fn$ @ album-imgs[] >stack
254254
1 imgs# +! ;
255255

256+
66 Value maxcols#
257+
256258
: wh>glue ( w h w% h% o:glue -- ) { f: w% f: h% }
257259
2dup dpy-h @ s>f fm/ h% f* dpy-w @ s>f fm/ w% f* fmin
258260
\ not bigger than x% of screen
259261
fdup fm* vglue-c df! fm* hglue-c df! ;
260262

261-
66 Value maxcols#
262-
263263
: default-imgwh% ( -- w h )
264264
dpy-w @ s>f font-size# maxcols# fm* f/ 1/f 100% fmin 100% ;
265265

‎minos2/widgets.fs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1108,7 +1108,7 @@ glue*2 >o 1glue f2* hglue-c glue! 0glue f2* dglue-c glue! 1glue f2* vglue-c glue
11081108
hbox new { newbox }
11091109
act ?dup-IF .clone newbox .!act THEN
11101110
childs# start floor f>s U+DO
1111-
firstflag newbox .childs[] $[]# 0<> or
1111+
firstflag newbox .childs[] $[]# 0= and
11121112
startx rw I childs[] $[] @ .split to startx
11131113
0e { f: ow }
11141114
?dup-IF

‎tokenize.fs

+2-2
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ Variable recursive?
132132
over ?token IF 2 emit xemit
133133
ELSE 1 i, THEN
134134
THEN
135-
nextname-string 2@ d0<> IF
136-
9 emit nextname-string 2@ dup xemit type
135+
nextname$ $@ d0<> IF
136+
9 emit nextname$ $@ dup xemit type
137137
THEN
138138
endof
139139
rectype-num of

0 commit comments

Comments
 (0)