diff options
| author | Thomas Voss <mail@thomasvoss.com> | 2023-10-04 22:26:00 +0200 | 
|---|---|---|
| committer | Thomas Voss <mail@thomasvoss.com> | 2023-10-04 22:26:00 +0200 | 
| commit | 5743ce6820c0cfceab4cc71229b5b069b99a8dce (patch) | |
| tree | 87341b5a5bdcc53dc220aa01f5f0b32434a0ec30 | |
| parent | 9f298a2098fa244ac763bc4d22ccf3fb7c9760bb (diff) | |
Check for ā-pā never being passed
| -rw-r--r-- | main.l | 3 | 
1 files changed, 3 insertions, 0 deletions
| @@ -156,6 +156,9 @@ atou(const char *s)  bool  print_ordinal(void)  { +	if (positions.ps == NULL) +		return true; +  	/* Basic binary search */  	for (size_t l = 0, r = positions.len - 1, m; l <= r;) {  		m = l + (r - l) / 2; |