Skip to content

Commit 1eea511

Browse files
committed
Remove trailing spaces
1 parent e0d3037 commit 1eea511

4 files changed

Lines changed: 19 additions & 19 deletions

File tree

.github/workflows/build_webassembly.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,43 +18,43 @@ on:
1818
jobs:
1919
build:
2020
runs-on: windows-latest
21-
21+
2222
env:
2323
RELEASE_NAME: raylib-dev_webassembly
24-
24+
2525
steps:
2626
- name: Checkout
2727
uses: actions/checkout@master
28-
28+
2929
- name: Setup emsdk
3030
uses: mymindstorm/setup-emsdk@v14
3131
with:
3232
version: 5.0.3
3333
actions-cache-folder: 'emsdk-cache'
34-
34+
3535
- name: Setup Release Version
3636
run: |
3737
echo "RELEASE_NAME=raylib-${{ github.event.release.tag_name }}_webassembly" >> $GITHUB_ENV
3838
shell: bash
3939
if: github.event_name == 'release' && github.event.action == 'published'
4040

4141
- name: Setup Environment
42-
run: |
42+
run: |
4343
mkdir build
4444
cd build
4545
mkdir ${{ env.RELEASE_NAME }}
4646
cd ${{ env.RELEASE_NAME }}
4747
mkdir include
4848
mkdir lib
4949
cd ../..
50-
50+
5151
- name: Build Library
5252
run: |
5353
cd src
5454
emcc -v
5555
make PLATFORM=PLATFORM_WEB EMSDK_PATH="D:/a/raylib/raylib/emsdk-cache/emsdk-main" RAYLIB_RELEASE_PATH="../build/${{ env.RELEASE_NAME }}/lib" -B
5656
cd ..
57-
57+
5858
- name: Generate Artifacts
5959
run: |
6060
copy /Y .\src\raylib.h .\build\${{ env.RELEASE_NAME }}\include\raylib.h
@@ -67,15 +67,15 @@ jobs:
6767
7z a ./${{ env.RELEASE_NAME }}.zip ./${{ env.RELEASE_NAME }}
6868
dir
6969
shell: cmd
70-
70+
7171
- name: Upload Artifacts
7272
uses: actions/upload-artifact@v4
7373
with:
7474
name: ${{ env.RELEASE_NAME }}
7575
path: |
7676
./build/${{ env.RELEASE_NAME }}
7777
!./build/${{ env.RELEASE_NAME }}.zip
78-
78+
7979
- name: Upload Artifact to Release
8080
uses: softprops/action-gh-release@v1
8181
with:

examples/audio/audio_stream_callback.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
*
99
* Example created by Dan Hoang (@dan-hoang) and reviewed by Ramon Santamaria (@raysan5)
1010
*
11-
* NOTE: Example sends a wave to the audio device,
11+
* NOTE: Example sends a wave to the audio device,
1212
* user gets the choice of four waves: sine, square, triangle, and sawtooth
13-
* A stream is set up to play to the audio device; stream is hooked to a callback that
13+
* A stream is set up to play to the audio device; stream is hooked to a callback that
1414
* generates a wave, that is determined by user choice
1515
*
1616
* Example licensed under an unmodified zlib/libpng license, which is an OSI-certified,
@@ -28,7 +28,7 @@
2828
#define BUFFER_SIZE 4096
2929
#define SAMPLE_RATE 44100
3030

31-
// Wave type
31+
// Wave type
3232
typedef enum {
3333
SINE,
3434
SQUARE,
@@ -48,7 +48,7 @@ static int waveFrequency = 440;
4848
static int newWaveFrequency = 440;
4949
static int waveIndex = 0;
5050

51-
// Buffer to keep the last second of uploaded audio,
51+
// Buffer to keep the last second of uploaded audio,
5252
// part of which will be drawn on the screen
5353
static float buffer[SAMPLE_RATE] = { 0 };
5454
static AudioCallback waveCallbacks[] = { SineCallback, SquareCallback, TriangleCallback, SawtoothCallback };

projects/4coder/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ ifeq ($(PLATFORM),PLATFORM_RPI)
163163
endif
164164
ifeq ($(PLATFORM),PLATFORM_WEB)
165165
# HTML5 emscripten compiler
166-
# WARNING: To compile to HTML5, code must be redesigned
166+
# WARNING: To compile to HTML5, code must be redesigned
167167
# to use emscripten.h and emscripten_set_main_loop()
168168
CC = emcc
169169
endif
@@ -297,12 +297,12 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
297297
# Libraries for Debian GNU/Linux desktop compiling
298298
# NOTE: Required packages: libegl1-mesa-dev
299299
LDLIBS = -lraylib -lGL -lm -lpthread -ldl -lrt
300-
300+
301301
# On X11 requires also below libraries
302302
LDLIBS += -lX11
303303
# NOTE: It seems additional libraries are not required any more, latest GLFW just dlopen them
304304
#LDLIBS += -lXrandr -lXinerama -lXi -lXxf86vm -lXcursor
305-
305+
306306
# On Wayland windowing system, additional libraries requires
307307
ifeq ($(USE_WAYLAND_DISPLAY),TRUE)
308308
LDLIBS += -lwayland-client -lwayland-cursor -lwayland-egl -lxkbcommon
@@ -354,7 +354,7 @@ OBJS = main.c
354354

355355
# For Android platform we call a custom Makefile.Android
356356
ifeq ($(PLATFORM),PLATFORM_ANDROID)
357-
MAKEFILE_PARAMS = -f Makefile.Android
357+
MAKEFILE_PARAMS = -f Makefile.Android
358358
export PROJECT_NAME
359359
export SRC_DIR
360360
else

src/platforms/rcore_desktop_sdl.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2126,11 +2126,11 @@ int InitPlatform(void)
21262126
//----------------------------------------------------------------------------
21272127
// Get base time from window initialization
21282128
CORE.Time.base = (double)(SDL_GetPerformanceCounter()/SDL_GetPerformanceFrequency());
2129-
2129+
21302130
#if defined(_WIN32) && SUPPORT_WINMM_HIGHRES_TIMER && !SUPPORT_BUSY_WAIT_LOOP
21312131
SDL_SetHint(SDL_HINT_TIMER_RESOLUTION, "1"); // SDL equivalent of timeBeginPeriod() and timeEndPeriod()
21322132
#endif
2133-
2133+
21342134
// NOTE: No need to call InitTimer(), let SDL manage it internally
21352135
//----------------------------------------------------------------------------
21362136

0 commit comments

Comments
 (0)