To: vim-dev@vim.org Subject: Patch 6.1.189 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.189 Problem: inputdialog() doesn't work when 'c' is in 'guioptions'. (Aric Blumer) Solution: Fall back to the input() function in this situation. Files: src/eval.c *** ../vim61.188/src/eval.c Sat Sep 7 22:20:49 2002 --- src/eval.c Mon Sep 23 19:44:19 2002 *************** *** 4805,4811 **** VAR retvar; { #if defined(FEAT_GUI_TEXTDIALOG) ! if (gui.in_use) { char_u *message; char_u buf[NUMBUFLEN]; --- 4805,4812 ---- VAR retvar; { #if defined(FEAT_GUI_TEXTDIALOG) ! /* Use a GUI dialog if the GUI is running and 'c' is not in 'guioptions' */ ! if (gui.in_use && vim_strchr(p_go, GO_CONDIALOG) == NULL) { char_u *message; char_u buf[NUMBUFLEN]; *** ../vim61.188/src/version.c Fri Sep 20 21:47:47 2002 --- src/version.c Mon Sep 23 20:57:31 2002 *************** *** 608,609 **** --- 608,611 ---- { /* Add new patch number below this line */ + /**/ + 189, /**/ -- `The Guide says there is an art to flying,' said Ford, `or at least a knack. The knack lies in learning how to throw yourself at the ground and miss.' He smiled weakly. -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy" /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\ /// Creator of Vim - Vi IMproved -- http://www.vim.org \\\ \\\ Project leader for A-A-P -- http://www.a-a-p.org /// \\\ Lord Of The Rings helps Uganda - http://iccf-holland.org/lotr.html ///