mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-01 16:58:30 +00:00
Fix redbean zip central directory lookup
This regression snuck in at some point. It resulted in the program sometimes failing to load when the zip content was changed.
This commit is contained in:
parent
19d0c15e03
commit
218ef49147
10 changed files with 183 additions and 11 deletions
|
@ -101,15 +101,15 @@ int y_; /* -y HEIGHT [in flexidecimal] */
|
|||
#define FAST 1
|
||||
#define FASTER 2
|
||||
|
||||
#define MODE BEST
|
||||
#define Mode BEST
|
||||
|
||||
#if MODE == BEST
|
||||
#if Mode == BEST
|
||||
#define MC 9u /* log2(#) of color combos to consider */
|
||||
#define GN 35u /* # of glyphs to consider */
|
||||
#elif MODE == FAST
|
||||
#elif Mode == FAST
|
||||
#define MC 6u
|
||||
#define GN 35u
|
||||
#elif MODE == FASTER
|
||||
#elif Mode == FASTER
|
||||
#define MC 4u
|
||||
#define GN 25u
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue