Skip to content

Commit 7f12c60

Browse files
committed
Follow raylib's conventions
1 parent 0249edf commit 7f12c60

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/core/core_directory_files.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ int main(void)
4444
// Draw
4545
//----------------------------------------------------------------------------------
4646
BeginDrawing();
47-
4847
ClearBackground(RAYWHITE);
4948

5049
DrawText(TextFormat("Files in directory \"%s\":", directory), 100, 40, 20, DARKGRAY);
5150

52-
for (int i = 0; i < (int)files.count; i++) {
53-
float alpha = i % 2 == 0 ? 0.5f : 0.3f;
51+
for (int i = 0; i < (int)files.count; i++)
52+
{
53+
float alpha = (i % 2 == 0)? 0.5f : 0.3f;
5454
DrawRectangle(0, 85 + 40*i, screenWidth, 40, Fade(LIGHTGRAY, alpha));
5555

5656
DrawText(files.paths[i], 120, 100 + 40*i, 10, GRAY);

0 commit comments

Comments
 (0)