Skip to content

Commit

Permalink
Remove redundant parameter name
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Srutek <[email protected]>
  • Loading branch information
michalsrutek committed Aug 16, 2022
1 parent 3b2783e commit b993454
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Example/main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ private let kLEDDigits: [Int32] = [
]

private struct Curses {
static func clear(x x: Int32, y: Int32, width: Int32, height: Int32) {
static func clear(x: Int32, y: Int32, width: Int32, height: Int32) {
for x in x ..< x + width {
for y in y ..< y + height {
Curses.mvprintw(y, x, " ")
Expand Down Expand Up @@ -86,7 +86,7 @@ final class ASCIIClock {
}
}

private func drawClock(hour hour: Int, minute: Int, second: Int, title: String, x: Int32) {
private func drawClock(hour: Int, minute: Int, second: Int, title: String, x: Int32) {
let y: Int32 = getmaxy(stdscr) / 2 - 1

Curses.clear(x: x, y: y - 1, width: Int32(kClockWidth), height: 5)
Expand Down

0 comments on commit b993454

Please sign in to comment.