Typfix
Change-Id: Ibb69d75932712b5b3a85b8747f3af74a9d1f966a
diff --git a/std/shells/darkelf.c b/std/shells/darkelf.c
index 45e37fb..bf197ef 100644
--- a/std/shells/darkelf.c
+++ b/std/shells/darkelf.c
@@ -208,12 +208,14 @@
varargs int CannotSee(int silent)
{
- string is_blind;
+ string|int is_blind = QueryProp(P_BLIND);
- if ( is_blind = QueryProp( P_BLIND ) ) {
+ if ( is_blind ) {
if (!silent) {
- if (stringp(is_blind)) write(is_blind);
- else write("Du bist blind!\n");
+ if (stringp(is_blind))
+ write(is_blind);
+ else
+ write("Du bist blind!\n");
}
return 1;
}