diff --git a/src/renderer/State.zig b/src/renderer/State.zig index 409cfb046..9fd7fa5b2 100644 --- a/src/renderer/State.zig +++ b/src/renderer/State.zig @@ -39,7 +39,7 @@ pub const Mouse = struct { /// The pre-edit state. See Surface.preeditCallback for more information. pub const Preedit = struct { /// The codepoints to render as preedit text. - codepoints: []Codepoint, + codepoints: []const Codepoint = &.{}, /// A single codepoint to render as preedit text. pub const Codepoint = struct {