Changeset 3838

Show
Ignore:
Timestamp:
2005年09月02日 00時54分34秒 (3 years ago)
Author:
miyoshi
Message:

(single_menu_item): Add a prefix to not only the item
name but the pane name.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/ChangeLog.Meadow

    r3837 r3838  
     12005-09-02  MIYOSHI Masanori  <miyoshi@meadowy.org> 
     2 
     3        * mw32menu.c (single_menu_item): Add a prefix to not only the item 
     4        name but the pane name. 
     5 
    162005-09-02  MIYOSHI Masanori  <miyoshi@meadowy.org> 
    27 
  • trunk/src/mw32menu.c

    r3801 r3838  
    678678                  } 
    679679                else if (EQ (tem, Qt)) 
    680                   index += 3;   /* Skip new pane marker. */ 
     680                  { 
     681                    int i = (index + MENU_ITEMS_ITEM_NAME 
     682                             + MENU_ITEMS_PANE_NAME); 
     683                    tem = AREF (menu_items, i); 
     684                    if (SREF (tem, 0) != '\0') 
     685                      ASET (menu_items, i, 
     686                            concat2 (build_string ("    "), tem)); 
     687                    index += MENU_ITEMS_PANE_LENGTH; /* Skip new pane marker. */ 
     688                  } 
    681689                else if (EQ (tem, Qquote)) 
    682690                  index++;      /* Skip a left, right divider. */