This website works better with JavaScript.
Home
Explore
Help
Sign In
Archivist
/
raylib-src
mirror of
https://github.com/raysan5/raylib
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
24
Wiki
Activity
Browse Source
avoid leading spaces in `text_rectangle_bounds` (
#2746
)
pull/2750/head
Szieberth Ádám
2 years ago
committed by
GitHub
parent
0d04ceafbf
commit
4cca234f46
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
1 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
examples/text/text_rectangle_bounds.c
+ 2
- 2
examples/text/text_rectangle_bounds.c
View File
@ -263,6 +263,6 @@ static void DrawTextBoxedSelectable(Font font, const char *text, Rectangle rec,
}
}
textOffsetX
+
=
glyphWidth
;
k">if
(
(
textOffsetX
!
=
0
)
|
|
(
codepoint
!
=
'
'
)
)
textOffsetX
+
=
glyphWidth
;
/
/
avoid
leading
spaces
}
}
}
Write
Preview
Loading…
Cancel
Save