History

m_option: don't overlap UPDATE and M_OPT constant values

Kacper Michajłow committed 1 year ago

Commit 22bb5c21 parent baf52801 file · +1 −1Browse files

Unified · Split

options/m_option.h+1−1
@@ -466,7 +466,7 @@ char *format_file_size(int64_t size); · 465 unmodified lines
466 (((UPDATE_OPT_LAST << 1) - 1) & ~(unsigned)(UPDATE_OPT_FIRST - 1))466 (((UPDATE_OPT_LAST << 1) - 1) & ~(unsigned)(UPDATE_OPT_FIRST - 1))
467 467
468// type_float/type_double: string "default" is parsed as NaN (and reverse)468// type_float/type_double: string "default" is parsed as NaN (and reverse)
469#define M_OPT_DEFAULT_NAN (1 << 26)469#define M_OPT_DEFAULT_NAN (1 << 3)
470 470
471// type time: string "no" maps to MP_NOPTS_VALUE (if unset, NOPTS is rejected)471// type time: string "no" maps to MP_NOPTS_VALUE (if unset, NOPTS is rejected)
472// and472// and

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t