Skip to content

Commit

Permalink
warning -> warn
Browse files Browse the repository at this point in the history
  • Loading branch information
Datseris committed May 22, 2018
1 parent c09b9be commit 9c1ba4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/miditrack.jl
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ Time is absolute, not relative to the last event.
The `program` must be specified in the range 1-128, **not** in 0-127!
"""
function programchange(track::MIDITrack, time::Integer, channel::UInt8, program::UInt8)
warning("This function has not been tested. Please test it before using "*
warn("This function has not been tested. Please test it before using "*
"and be kind enough to report whether it worked!")
program -= 1
addevent!(track, time, MIDIEvent(0, PROGRAMCHANGE | channel, UInt8[program]))
Expand Down

0 comments on commit 9c1ba4a

Please sign in to comment.