Browse Source

Bugfix: opencl: Show blank device-info statline area if GPU doesn't have ADL, to fix column alignment

Luke Dashjr 13 years ago
parent
commit
920166a41f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      driver-opencl.c

+ 2 - 0
driver-opencl.c

@@ -1131,6 +1131,8 @@ static void get_opencl_statline_before(char *buf, struct cgpu_info *gpu)
 			tailsprintf(buf, "        ");
 			tailsprintf(buf, "        ");
 		tailsprintf(buf, "| ");
 		tailsprintf(buf, "| ");
 	}
 	}
+	else
+		tailsprintf(buf, "        | ");
 }
 }
 #endif
 #endif