octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #44822] Case-sensitive listdlg's SelectionMode


From: Guillaume
Subject: [Octave-bug-tracker] [bug #44822] Case-sensitive listdlg's SelectionMode values
Date: Sun, 12 Apr 2015 22:33:22 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:37.0) Gecko/20100101 Firefox/37.0

URL:
  <http://savannah.gnu.org/bugs/?44822>

                 Summary: Case-sensitive listdlg's SelectionMode values
                 Project: GNU Octave
            Submitted by: gyom
            Submitted on: Sun 12 Apr 2015 10:33:21 PM GMT
                Category: Plotting with OpenGL
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: Guillaume
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

listdlg returns an error if SelectionMode is not exactly "Single" or
"Multiple":


listdlg(...
  'ListString',{'aaa','bbb','ccc','ddd'},...
  'SelectionMode','multiple');


The attached patch just replaces strcmp() with strcmpi() but there is still an
subsequent issue in __octave_link_list_dialog__: I feel the case mismatch
should be fixed there but it might be simpler to enforce specific spelling
from listdlg().



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 12 Apr 2015 10:33:21 PM GMT  Name: selectionmode_listdlg.diff  Size:
504B   By: gyom

<http://savannah.gnu.org/bugs/download.php?file_id=33654>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44822>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]