このコミットが含まれているのは:
守矢諏訪子 2024-06-25 14:22:12 +09:00
コミット d37c30fdb1
1個のファイルの変更2行の追加1行の削除

ファイルの表示

@ -15,7 +15,8 @@ const char *display_resolution() {
if (
isexist == NULL ||
strlen(isexist) == 0 ||
strncmp(isexist, "xrandr not found", strlen("xrandr not found")) == 0
strncmp(isexist, "xrandr not found", strlen("xrandr not found")) == 0 ||
strstr(isexist, "which: no xrandr in")
) {
if (isexist) free((void *)isexist);
return NULL;