~jan0sch/rig

Showing details for patch edd6015a4878609eef482c0953da2d909206f892.
2025-04-06 (Sun), 5:18 PM - Jens Grassel - edd6015a4878609eef482c0953da2d909206f892

Remove replacement of tab chars in address.

Summary of changes
1 files modified with 0 lines added and 1 lines removed
  • src/main.zig with 0 added and 1 removed lines
diff -rN -u old-rig/src/main.zig new-rig/src/main.zig
--- old-rig/src/main.zig	2025-04-19 16:34:51.344655993 +0000
+++ new-rig/src/main.zig	2025-04-19 16:34:51.344655993 +0000
@@ -66,7 +66,6 @@
     defer allocator.free(random_zip_code);
 
     const random_address = try allocator.dupe(u8, random_zip_code);
-    std.mem.replaceScalar(u8, random_address, '\t', ' ');
 
     try stdout.print("{s} {s}, {s}\n", .{random_forename, random_surname, random_address});