about summary refs log tree commit diff stats
path: root/prototypes/browse
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-06-07 23:50:28 -0700
committerKartik Agaram <vc@akkartik.com>2020-06-07 23:50:28 -0700
commit8093143f04c56729a6a11edddbea607dfe8cee2a (patch)
tree903b8791fd4703fc1552a5c4472e52d06c246c5e /prototypes/browse
parent73b7be20eb27b6690425bc370922687d4d18f963 (diff)
downloadmu-8093143f04c56729a6a11edddbea607dfe8cee2a.tar.gz
6501
Bugfix in support for CRLF line-endings.
Diffstat (limited to 'prototypes/browse')
-rw-r--r--prototypes/browse/28/main.mu2
-rw-r--r--prototypes/browse/29/main.mu2
2 files changed, 2 insertions, 2 deletions
diff --git a/prototypes/browse/28/main.mu b/prototypes/browse/28/main.mu
index 613e8aba..0f7458e6 100644
--- a/prototypes/browse/28/main.mu
+++ b/prototypes/browse/28/main.mu
@@ -80,7 +80,7 @@ $render-normal:loop-body: {
       start-of-paragraph? <- copy 0  # false
       # if c is unprintable (particularly a '\r' CR), skip it
       compare c, 0x20
-      loop-if-<
+      loop-if-< $render-normal:loop
       # If there's a newline buffered and c is a space, print the buffered
       # newline (hard newline).
       # If there's a newline buffered and c is not a newline or space, print a
diff --git a/prototypes/browse/29/main.mu b/prototypes/browse/29/main.mu
index e84c4176..ea9cdf02 100644
--- a/prototypes/browse/29/main.mu
+++ b/prototypes/browse/29/main.mu
@@ -80,7 +80,7 @@ $render-normal:loop-body: {
       start-of-paragraph? <- copy 0  # false
       # if c is unprintable (particularly a '\r' CR), skip it
       compare c, 0x20
-      loop-if-<
+      loop-if-< $render-normal:loop
       # If there's a newline buffered and c is a space, print the buffered
       # newline (hard newline).
       # If there's a newline buffered and c is not a newline or space, print a
n191'>191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260