authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-07-29 04:41:40 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-07-29 04:41:40 -07:00
logd36621903868136b2ce347e9be9c937e664e1e74
treee97d8839481eeeaa0f46a2f5444ed7d240799b41
parent4d1e7c0043dce7faabde3ff33b2becd977f8a555

fix easter egg in example program


1 files changed, 1 insertions(+), 1 deletions(-)

src/main.zig+1-1
......@@ -27,7 +27,7 @@ pub fn main() !void {
2727
2828 const comment = try inquirer.forString(out, in, "Any comments on your purchase experience?", alloc, "Nope, all good!");
2929
30 if (std.mem.eql(u8, comment, "")) {
30 if (!std.mem.eql(u8, comment, "Nope, all good!")) {
3131 _ = try inquirer.forEnum(out, in, "For leaving a comment, you get a freebie:", alloc, enum { Cake, Fries }, null);
3232 }
3333}