diff options
| author | Charles Forsyth <charles.forsyth@gmail.com> | 2015-04-29 15:09:38 +0100 |
|---|---|---|
| committer | Charles Forsyth <charles.forsyth@gmail.com> | 2015-04-29 15:09:38 +0100 |
| commit | 170ff9d45744c9a94d26be32709fb3f616ba141a (patch) | |
| tree | 2e729b710b4f627d2c0e22e31a1884b373418e22 /appl/grid/lib/fbrowse.b | |
| parent | 384c797555910dfba6362bec98a74a6564fb3478 (diff) | |
convert to use Dial module
Diffstat (limited to 'appl/grid/lib/fbrowse.b')
| -rw-r--r-- | appl/grid/lib/fbrowse.b | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/appl/grid/lib/fbrowse.b b/appl/grid/lib/fbrowse.b index bde88e62..d1310386 100644 --- a/appl/grid/lib/fbrowse.b +++ b/appl/grid/lib/fbrowse.b @@ -89,8 +89,6 @@ init(ctxt : ref Draw->Context, title, root, currdir: string): string released := 1; title = ""; - menudata := ("", ""); - tkclient->onscreen(top, nil); resize(top, ctxt.display.image); tkclient->startinput(top, "kbd"::"ptr"::nil); @@ -272,7 +270,6 @@ openfile(ctxt: ref draw->Context, file, title: string, writeable: int) (w,h) := fopensize; if (w != "" && h != "") tkcmd(top, ". configure -width "+w+" -height "+h); - errors := 0; killpid := -1; fd := sys->open(file, sys->OREAD); if (fd != nil) { @@ -369,7 +366,7 @@ actionbutton(top: ref Tk->Toplevel, path, tkpath: string) getext(file: string): string { - (n, lst) := sys->tokenize(file, "."); + (nil, lst) := sys->tokenize(file, "."); for (; tl lst != nil; lst = tl lst) ; return hd lst; |
