summaryrefslogtreecommitdiffstats
path: root/libass/ass_utils.c
diff options
context:
space:
mode:
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;