Gimli: Never thought I'd die fighting side by side with an elf.
Legolas: What about side by side with a friend?
Gimli: Aye, I could do that.
Legolas sends an arrow directly to Grima atop Orthanc, and as Grima starts to fall back the arrow is quite visibly well below the coat's fur. However, when Grima actually hits the ground, the arrow is now higher up, protruding from the fur. (Extended Edition.)
Sam's line at the end of the film ("Well, I'm back") is also the last line of the "King" novel.