translate: Fix typo in is_legal_int_format_combo.
Fixes same on both sides defect reported by Coverity. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: José Fonseca <jfonseca@vmware.com>
This commit is contained in:
parent
1ea263fccb
commit
7528e2104f
|
@ -773,7 +773,7 @@ is_legal_int_format_combo( const struct util_format_description *src,
|
|||
|
||||
for (i = 0; i < nr; i++) {
|
||||
/* The signs must match. */
|
||||
if (src->channel[i].type != src->channel[i].type) {
|
||||
if (src->channel[i].type != dst->channel[i].type) {
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue