Mercurial > pidgin
comparison src/buddy.c @ 2669:44773c4b0f16
[gaim-migrate @ 2682]
So I was out driving around and went to get back on I-80, but
there was no Westbound onramp at Cutting. I was so unpleased.
I kept driving. Their were signs for San Rafael, so I just kept
going. Little did I know that the it was referring to an onramp to
westbound 580, and that it was quite a distance from where I started.
It was good, though, because I was bored anyway.
committer: Tailor Script <tailor@pidgin.im>
author | Adam Fritzler <mid@auk.cx> |
---|---|
date | Sun, 04 Nov 2001 07:42:28 +0000 |
parents | b0c5770156e1 |
children | 37d80035e77f |
comparison
equal
deleted
inserted
replaced
2668:f1d44505d66a | 2669:44773c4b0f16 |
---|---|
1875 static char *caps_string(gushort caps) | 1875 static char *caps_string(gushort caps) |
1876 { | 1876 { |
1877 static char buf[256], *tmp; | 1877 static char buf[256], *tmp; |
1878 int count = 0, i = 0; | 1878 int count = 0, i = 0; |
1879 gushort bit = 1; | 1879 gushort bit = 1; |
1880 while (bit <= 0x80) { | 1880 while (bit <= 0x400) { |
1881 if (bit & caps) { | 1881 if (bit & caps) { |
1882 switch (bit) { | 1882 switch (bit) { |
1883 case 0x1: | 1883 case 0x1: |
1884 tmp = _("Buddy Icon"); | 1884 tmp = _("Buddy Icon"); |
1885 break; | 1885 break; |
1897 break; | 1897 break; |
1898 case 0x20: | 1898 case 0x20: |
1899 tmp = _("Send File"); | 1899 tmp = _("Send File"); |
1900 break; | 1900 break; |
1901 case 0x40: | 1901 case 0x40: |
1902 case 0x200: | |
1902 tmp = _("Games"); | 1903 tmp = _("Games"); |
1903 break; | 1904 break; |
1904 case 0x80: | 1905 case 0x80: |
1905 tmp = _("Stocks"); | 1906 tmp = _("Stocks"); |
1907 break; | |
1908 case 0x400: | |
1909 tmp = _("EveryBuddy Bug"); | |
1906 break; | 1910 break; |
1907 default: | 1911 default: |
1908 tmp = NULL; | 1912 tmp = NULL; |
1909 break; | 1913 break; |
1910 } | 1914 } |