| author | |
| committer | |
| log | d36621903868136b2ce347e9be9c937e664e1e74 |
| tree | e97d8839481eeeaa0f46a2f5444ed7d240799b41 |
| parent | 4d1e7c0043dce7faabde3ff33b2becd977f8a555 |
1 files changed, 1 insertions(+), 1 deletions(-)
src/main.zig+1-1| ... | ... | @@ -27,7 +27,7 @@ pub fn main() !void { |
| 27 | 27 | |
| 28 | 28 | const comment = try inquirer.forString(out, in, "Any comments on your purchase experience?", alloc, "Nope, all good!"); |
| 29 | 29 | |
| 30 | if (std.mem.eql(u8, comment, "")) { | |
| 30 | if (!std.mem.eql(u8, comment, "Nope, all good!")) { | |
| 31 | 31 | _ = try inquirer.forEnum(out, in, "For leaving a comment, you get a freebie:", alloc, enum { Cake, Fries }, null); |
| 32 | 32 | } |
| 33 | 33 | } |