Changeset 3691:25c190abd7d7
- Timestamp:
- 2004-07-13 22:45:18 (4 years ago)
- Author:
- TAKAHASHI Tamotsu <ttakah@…>
- Branch:
- HEAD
- Message:
-
Fix Debian#237426. (Experimental.)
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r3480
|
r3691
|
|
| 945 | 945 | if (S_ISDIR (st.st_mode)) |
| 946 | 946 | { |
| 947 | | strfcpy (LastDir, buf, sizeof (LastDir)); |
| 948 | 947 | destroy_state (&state); |
| 949 | | if (examine_directory (menu, &state, LastDir, prefix) == 0) |
| 950 | | { |
| 951 | | menu->current = 0; |
| 952 | | menu->top = 0; |
| 953 | | init_menu (&state, menu, title, sizeof (title), buffy); |
| 954 | | } |
| | 948 | if (examine_directory (menu, &state, buf, prefix) == 0) |
| | 949 | strfcpy (LastDir, buf, sizeof (LastDir)); |
| 955 | 950 | else |
| 956 | 951 | { |
| 957 | 952 | mutt_error _("Error scanning directory."); |
| 958 | | destroy_state (&state); |
| 959 | | mutt_menuDestroy (&menu); |
| 960 | | goto bail; |
| | 953 | if (examine_directory (menu, &state, LastDir, prefix) == -1) |
| | 954 | { |
| | 955 | mutt_menuDestroy (&menu); |
| | 956 | goto bail; |
| | 957 | } |
| 961 | 958 | } |
| | 959 | menu->current = 0; |
| | 960 | menu->top = 0; |
| | 961 | init_menu (&state, menu, title, sizeof (title), buffy); |
| 962 | 962 | } |
| 963 | 963 | else |