shithub: rngfs

Download patch

ref: 0d8ff1fb65431a90927ebbeeab130a492ade82f4
parent: a8195ee6b67009a01caceaa25680115410ee6876
author: kvik <kvik@a-b.xyz>
date: Sun Jun 7 17:22:07 EDT 2020

Fix Qreal range setting

--- a/rngfs.c
+++ b/rngfs.c
@@ -219,7 +219,7 @@
 			break;
 		case Qreal:
 			st->min.d = strtod(cb->f[1], nil);
-			st->max.d = strtod(cb->f[1], nil);
+			st->max.d = strtod(cb->f[2], nil);
 		}
 		break;
 	}