mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r20291) -Codechange: Unify break coding style.
This commit is contained in:
parent
c32e35c30d
commit
ee01ec9136
|
@ -1152,8 +1152,8 @@ void NetworkServerSendChat(NetworkAction action, DestType desttype, int dest, co
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
DEBUG(net, 0, "[server] received unknown chat destination type %d. Doing broadcast instead", desttype);
|
DEBUG(net, 0, "[server] received unknown chat destination type %d. Doing broadcast instead", desttype);
|
||||||
/* FALL THROUGH */
|
/* FALL THROUGH */
|
||||||
|
|
|
@ -134,8 +134,8 @@ void DisplaySplashImage()
|
||||||
|
|
||||||
_pal_first_dirty = 0;
|
_pal_first_dirty = 0;
|
||||||
_pal_count_dirty = 256;
|
_pal_count_dirty = 256;
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
case 32: {
|
case 32: {
|
||||||
uint32 *dst_ptr = (uint32 *)_screen.dst_ptr;
|
uint32 *dst_ptr = (uint32 *)_screen.dst_ptr;
|
||||||
/* Initialize buffer */
|
/* Initialize buffer */
|
||||||
|
@ -149,9 +149,9 @@ void DisplaySplashImage()
|
||||||
dst[x] = palette[src[x]].blue | (palette[src[x]].green << 8) | (palette[src[x]].red << 16) | 0xff000000;
|
dst[x] = palette[src[x]].blue | (palette[src[x]].green << 8) | (palette[src[x]].red << 16) | 0xff000000;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
png_destroy_read_struct(&png_ptr, &info_ptr, &end_info);
|
png_destroy_read_struct(&png_ptr, &info_ptr, &end_info);
|
||||||
fclose(f);
|
fclose(f);
|
||||||
|
|
Loading…
Reference in New Issue