aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/patches
diff options
context:
space:
mode:
Diffstat (limited to 'patches')
-rw-r--r--patches/patches/058_quiz7.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/patches/patches/058_quiz7.patch b/patches/patches/058_quiz7.patch
new file mode 100644
index 0000000..6b79676
--- /dev/null
+++ b/patches/patches/058_quiz7.patch
@@ -0,0 +1,14 @@
+188,189c188,189
+< .place => print("{s}", .{p.name}),
+< .path => print("--{}->", .{p.dist}),
+---
+> .place => |p| print("{s}", .{p.name}),
+> .path => |p| print("--{}->", .{p.dist}),
+251c251
+< if (place == entry.*.?.place) return entry;
+---
+> if (place == entry.*.?.place) return &entry.*.?;
+305c305
+< fn getTripTo(self: *HermitsNotebook, trip: []?TripItem, dest: *Place) void {
+---
+> fn getTripTo(self: *HermitsNotebook, trip: []?TripItem, dest: *Place) TripError!void {