From 6b6b553164555a13e14c1bb9cd97fbdd87c224a1 Mon Sep 17 00:00:00 2001 From: alba4k Date: Fri, 7 Apr 2023 15:04:54 +0200 Subject: [PATCH] negligible fix --- src/info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/info.c b/src/info.c index 2c40bc4..b163456 100644 --- a/src/info.c +++ b/src/info.c @@ -881,7 +881,7 @@ int gpu(char *dest) { if((end = strchr(gpu_string, '['))) { // sometimes the gpu is "Architecture [GPU Name]" char *ptr = strchr(end, ']'); if(ptr) { - gpu_string = end; + gpu_string = end+1; *ptr = 0; } }