fix if statement with dd
fix if statement with dd

applied the wrong patch accidently, thanks for noticing!
REVIEW: 102318
CCBUG: 208762

hlamer/kate,cmacq2/kate,hlamer/kate,jfmcarreira/kate,jfmcarreira/kate,hlamer/kate,sandsmark/kate,sandsmark/kate,hlamer/kate,sandsmark/kate,hlamer/kate,DickJ/kate,hlamer/kate,hlamer/kate,hlamer/kate,jfmcarreira/kate,cmacq2/kate,DickJ/kate,hlamer/kate,DickJ/kate,sandsmark/kate,DickJ/kate,cmacq2/kate,hlamer/kate