Mercurial > pidgin
comparison src/buddy.c @ 2734:9fc65bb80596
[gaim-migrate @ 2747]
it's 6am
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sat, 17 Nov 2001 13:57:30 +0000 |
parents | e9e624d8803e |
children | 6e1ac8ceb3c4 |
comparison
equal
deleted
inserted
replaced
2733:eeac6ea7ade6 | 2734:9fc65bb80596 |
---|---|
1888 static char *caps_string(gushort caps) | 1888 static char *caps_string(gushort caps) |
1889 { | 1889 { |
1890 static char buf[256], *tmp; | 1890 static char buf[256], *tmp; |
1891 int count = 0, i = 0; | 1891 int count = 0, i = 0; |
1892 gushort bit = 1; | 1892 gushort bit = 1; |
1893 while (bit <= 0x400) { | 1893 while (bit <= 0x800) { |
1894 if (bit & caps) { | 1894 if (bit & caps) { |
1895 switch (bit) { | 1895 switch (bit) { |
1896 case 0x1: | 1896 case 0x1: |
1897 tmp = _("Buddy Icon"); | 1897 tmp = _("Buddy Icon"); |
1898 break; | 1898 break; |
1918 case 0x80: | 1918 case 0x80: |
1919 tmp = _("Stocks"); | 1919 tmp = _("Stocks"); |
1920 break; | 1920 break; |
1921 case 0x400: | 1921 case 0x400: |
1922 tmp = _("EveryBuddy Bug"); | 1922 tmp = _("EveryBuddy Bug"); |
1923 break; | |
1924 case 0x800: | |
1925 tmp = _("AP User"); | |
1923 break; | 1926 break; |
1924 default: | 1927 default: |
1925 tmp = NULL; | 1928 tmp = NULL; |
1926 break; | 1929 break; |
1927 } | 1930 } |