diff options
Diffstat (limited to 'src/prefs.c')
-rw-r--r-- | src/prefs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/prefs.c b/src/prefs.c index 6164ca25..13a1dab7 100644 --- a/src/prefs.c +++ b/src/prefs.c | |||
@@ -25,8 +25,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ | |||
25 | #include <the_Foundation/fileinfo.h> | 25 | #include <the_Foundation/fileinfo.h> |
26 | #include <assert.h> | 26 | #include <assert.h> |
27 | 27 | ||
28 | static_assert(offsetof(iPrefs, plainTextWrap) == offsetof(iPrefs, bools[plainTextWrap_PrefsBool]), | 28 | _Static_assert(offsetof(iPrefs, plainTextWrap) == offsetof(iPrefs, bools[plainTextWrap_PrefsBool]), |
29 | "memory layout mismatch (needs struct packing?)"); | 29 | "memory layout mismatch (needs struct packing?)"); |
30 | 30 | ||
31 | void init_Prefs(iPrefs *d) { | 31 | void init_Prefs(iPrefs *d) { |
32 | iForIndices(i, d->strings) { | 32 | iForIndices(i, d->strings) { |