aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/datastructures/linkedlists/sentinel-template3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/datastructures/linkedlists/sentinel-template b/src/datastructures/linkedlists/sentinel-template
index 9485226..3decdbc 100644
--- a/src/datastructures/linkedlists/sentinel-template
+++ b/src/datastructures/linkedlists/sentinel-template
@@ -67,9 +67,8 @@
{
this.edge = new Node(null);
this.edge.next = this.edge;
-£>if (( with_prev )); then
+(( with_prev )) &&
this.edge.previous = this.edge;
-£>fi
}