summaryrefslogtreecommitdiffstats
path: root/libass/ass_utils.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2009-07-07 02:26:13 +0300
committerUoti Urpala <uau@glyph.nonexistent.invalid>2009-07-07 02:34:35 +0300
commit0eb321bf2c1cc0e048faff26a01f86cdd3ec254f (patch)
tree71cb9bd9ed121156d3382066c0722c73189afe04 /libass/ass_utils.c
parent6d908205fbadbdf7ccdc6c5e0eb918f0b43f16e0 (diff)
downloadmpv-0eb321bf2c1cc0e048faff26a01f86cdd3ec254f.tar.bz2
mpv-0eb321bf2c1cc0e048faff26a01f86cdd3ec254f.tar.xz
Remove trailing whitespace from most files
Diffstat (limited to 'libass/ass_utils.c')
-rw-r--r--libass/ass_utils.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libass/ass_utils.c b/libass/ass_utils.c
index 7f728f1bb1..9a89e8afae 100644
--- a/libass/ass_utils.c
+++ b/libass/ass_utils.c
@@ -72,17 +72,17 @@ int strtocolor(char** q, uint32_t* res)
uint32_t color = 0;
int result;
char* p = *q;
-
- if (*p == '&') ++p;
+
+ if (*p == '&') ++p;
else mp_msg(MSGT_ASS, MSGL_DBG2, "suspicious color format: \"%s\"\n", p);
-
- if (*p == 'H' || *p == 'h') {
+
+ if (*p == 'H' || *p == 'h') {
++p;
result = mystrtou32(&p, 16, &color);
} else {
result = mystrtou32(&p, 0, &color);
}
-
+
{
unsigned char* tmp = (unsigned char*)(&color);
unsigned char b;