Overview
Comment: | When adding a new object to the MRU list, ensure that it is selected as the current MRU. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
aaae541d8a787472f28262c205d89395 |
User & Date: | user on 2021-05-02 20:13:24 |
Other Links: | manifest | tags |
Context
2021-05-05
| ||
02:33 | Add the possibility to use SQL queries in the picture editor. check-in: 7e6d0f4f80 user: user tags: trunk | |
2021-05-02
| ||
20:13 | When adding a new object to the MRU list, ensure that it is selected as the current MRU. check-in: aaae541d8a user: user tags: trunk | |
06:25 | Add missing messages in constant list in class.doc check-in: b6463ae11b user: user tags: trunk | |
Changes
Modified edit.c from [7224dafdb1] to [33f0991a96].
︙ | |||
363 364 365 366 367 368 369 370 371 372 373 374 375 376 | 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 | + | if(!cl) return; for(i=0;i<MRUCOUNT-1;i++) if(mru[i].class==cl && mru[i].img==img) break; memmove(mru+1,mru,i*sizeof(MRU)); mru[0].class=cl; mru[0].img=img; mru[0].dir=0; mru[0].misc1=mru[0].misc2=mru[0].misc3=NVALUE(0); curmru=0; } static void class_image_select(void) { SDL_Event ev; SDL_Rect r; int clscroll=0; int imgscroll=0; |
︙ |