summaryrefslogtreecommitdiffstats
path: root/libass/ass_utils.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-05-13 02:58:57 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-05-13 02:58:57 +0000
commitc0ecadd1e30f7a18a9a52e2c5c9812aaf60345fa (patch)
tree247b3733f9d79bf73b881f672add032fea3cfc42 /libass/ass_utils.c
parent8421b19d28d785748c0080f76ae36d341761ee1c (diff)
downloadlibass-c0ecadd1e30f7a18a9a52e2c5c9812aaf60345fa.tar.bz2
libass-c0ecadd1e30f7a18a9a52e2c5c9812aaf60345fa.tar.xz
whitespace cosmetics: Remove all trailing whitespace.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
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 7f728f1..9a89e8a 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;