mirror of
https://github.com/alexbatalov/fallout2-ce.git
synced 2024-09-04 13:59:04 +00:00
Fix code format check
This commit is contained in:
parent
a06097aef5
commit
6b6fa3f111
2
.github/workflows/ci-build.yml
vendored
2
.github/workflows/ci-build.yml
vendored
@ -41,7 +41,7 @@ jobs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: clang-format
|
- name: clang-format
|
||||||
run: find src -type f -exec clang-format --dry-run --Werror {} \;
|
run: clang-format --dry-run --Werror src/**/*.cc src/**/*.h
|
||||||
|
|
||||||
android:
|
android:
|
||||||
name: Android
|
name: Android
|
||||||
|
@ -315,7 +315,7 @@ void compat_resolve_path(char* path)
|
|||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
char* pch = path;
|
char* pch = path;
|
||||||
|
|
||||||
DIR *dir;
|
DIR* dir;
|
||||||
if (pch[0] == '/') {
|
if (pch[0] == '/') {
|
||||||
dir = opendir("/");
|
dir = opendir("/");
|
||||||
pch++;
|
pch++;
|
||||||
|
Loading…
Reference in New Issue
Block a user