Skip to content

Commit 2ae9a6a

Browse files
committed
Fixed linter errors
1 parent 421a82b commit 2ae9a6a

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

FontAtlas.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,12 +169,12 @@ func (atlas FontAtlas) Build() bool {
169169
}
170170

171171
// FontBuilderFlags returns shared flags (for all fonts) for custom font builder.
172-
func (altas FontAtlas) FontBuilderFlags() uint {
173-
return uint(C.iggFontAtlasGetFontBuilderFlags(altas.handle()))
172+
func (atlas FontAtlas) FontBuilderFlags() uint {
173+
return uint(C.iggFontAtlasGetFontBuilderFlags(atlas.handle()))
174174
}
175175

176176
// SetFontBuilderFlags sets shared flags (for all fonts) for custom font builder.
177177
// THIS IS BUILD IMPLEMENTATION DEPENDENT. Per-font override is also available in FontConfig.
178-
func (altas FontAtlas) SetFontBuilderFlags(flags uint) {
179-
C.iggFontAtlasSetFontBuilderFlags(altas.handle(), C.uint(flags))
178+
func (atlas FontAtlas) SetFontBuilderFlags(flags uint) {
179+
C.iggFontAtlasSetFontBuilderFlags(atlas.handle(), C.uint(flags))
180180
}

Widgets.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -936,7 +936,7 @@ func Selectable(label string) bool {
936936
// - The BeginListBox()/EndListBox() api allows you to manage your contents and selection state however you want it, by creating e.g. Selectable() or any items.
937937
// - The simplified/old ListBox() api are helpers over BeginListBox()/EndListBox() which are kept available for convenience purpose. This is analoguous to how Combos are created.
938938
// - Choose frame width: size.x > 0.0f: custom / size.x < 0.0f or -FLT_MIN: right-align / size.x = 0.0f (default): use current ItemWidth
939-
// - Choose frame height: size.y > 0.0f: custom / size.y < 0.0f or -FLT_MIN: bottom-align / size.y = 0.0f (default): arbitrary default height which can fit ~7 items
939+
// - Choose frame height: size.y > 0.0f: custom / size.y < 0.0f or -FLT_MIN: bottom-align / size.y = 0.0f (default): arbitrary default height which can fit ~7 items.
940940
func BeginListBoxV(label string, size Vec2) bool {
941941
labelArg, labelFin := wrapString(label)
942942
defer labelFin()

Window.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ func PopButtonRepeat() {
338338
// Viewport A Platform Window (always only one in 'master' branch), in the future may represent Platform Monitor.
339339
type Viewport uintptr
340340

341-
// ViewportFlags flags for viewport
341+
// ViewportFlags flags for viewport.
342342
type ViewportFlags int
343343

344344
const (

0 commit comments

Comments
 (0)