comparison gui/interface.c @ 33686:74fa17c7b9b8

Prefer previously assigned guiInfo.StreamTyp over stream->type.
author ib
date Wed, 29 Jun 2011 10:51:22 +0000
parents ca6c9a80a062
children f23d139ded5b
comparison
equal deleted inserted replaced
33685:ca6c9a80a062 33686:74fa17c7b9b8
656 case guiSetStream: 656 case guiSetStream:
657 657
658 stream = arg; 658 stream = arg;
659 guiInfo.StreamType = stream->type; 659 guiInfo.StreamType = stream->type;
660 660
661 switch (stream->type) { 661 switch (guiInfo.StreamType) {
662 #ifdef CONFIG_DVDREAD 662 #ifdef CONFIG_DVDREAD
663 case STREAMTYPE_DVD: 663 case STREAMTYPE_DVD:
664 guiGetEvent(guiSetDVD, stream->priv); 664 guiGetEvent(guiSetDVD, stream->priv);
665 break; 665 break;
666 #endif 666 #endif