EDIT: Nevermind, I solved it. I fixed my interpretation in case anyone else needs to use it.I've been looking at Bresenham's line algorithm for something that I'm working on, and I can't seem to get it to work. I tried using the first sample algorithm that is on the wikipedia page, but my line stays stationary. I tried making my own one based on the article itself, but it only works in two positions (the line is either horizontal or perfectly diagonal).
Article: [wikipedia]http://en.wikipedia.org/wiki/Bresenham's_line_algorithm#The_algorithm[/wikipedia]
I've attached what my algorithm (not my translation of theirs) looks like.