Skip to content

Commit b574222

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

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/core/core_directory_files.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,12 @@ 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

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

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

0 commit comments

Comments
 (0)