* Fix a couple errors in the rotation code.

This commit is contained in:
Justin Maggard
2012-01-23 18:51:48 +00:00
parent 8298a15490
commit fe581c5e7f
2 changed files with 27 additions and 26 deletions

View File

@ -620,10 +620,10 @@ GetImageMetadata(const char * path, char * name)
rotate = 180;
break;
case 6:
rotate = 270;
rotate = 90;
break;
case 8:
rotate = 90;
rotate = 270;
break;
default:
rotate = 0;