Advertisement
Guest User

Untitled

a guest
Jul 1st, 2010
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.10 KB | None | 0 0
  1. Index: lib/skin_parser/tag_table.c
  2. ===================================================================
  3. --- lib/skin_parser/tag_table.c (revision 27208)
  4. +++ lib/skin_parser/tag_table.c (working copy)
  5. @@ -163,23 +163,23 @@
  6. { SKIN_TOKEN_SUBLINE_SCROLL, "s", "" },
  7. { SKIN_TOKEN_SUBLINE_TIMEOUT, "t" , "S" },
  8.  
  9. - { SKIN_TOKEN_ENABLE_THEME, "we", "" },
  10. - { SKIN_TOKEN_DISABLE_THEME, "wd", "" },
  11. - { SKIN_TOKEN_DRAW_INBUILTBAR, "wi", "" },
  12. + { SKIN_TOKEN_ENABLE_THEME, "we", "\n" },
  13. + { SKIN_TOKEN_DISABLE_THEME, "wd", "\n" },
  14. + { SKIN_TOKEN_DRAW_INBUILTBAR, "wi", "\n" },
  15.  
  16. - { SKIN_TOKEN_IMAGE_PRELOAD, "xl", "SFII|I" },
  17. + { SKIN_TOKEN_IMAGE_PRELOAD, "xl", "SFII|I\n" },
  18. { SKIN_TOKEN_IMAGE_PRELOAD_DISPLAY, "xd", "S" },
  19. - { SKIN_TOKEN_IMAGE_PRELOAD, "x", "SFII" },
  20. + { SKIN_TOKEN_IMAGE_PRELOAD, "x", "SFII\n" },
  21.  
  22. - { SKIN_TOKEN_LOAD_FONT, "Fl" , "IF"},
  23. - { SKIN_TOKEN_ALBUMART_LOAD, "Cl" , "IIII|ss"},
  24. + { SKIN_TOKEN_LOAD_FONT, "Fl" , "IF\n"},
  25. + { SKIN_TOKEN_ALBUMART_LOAD, "Cl" , "IIII|ss\n"},
  26. { SKIN_TOKEN_ALBUMART_DISPLAY, "Cd" , ""},
  27. { SKIN_TOKEN_ALBUMART_FOUND, "C" , ""},
  28.  
  29. { SKIN_TOKEN_VIEWPORT_ENABLE, "Vd" , "S"},
  30. { SKIN_TOKEN_UIVIEWPORT_ENABLE, "VI" , "S"},
  31.  
  32. - { SKIN_TOKEN_VIEWPORT_CUSTOMLIST, "Vp" , "ICC"},
  33. + { SKIN_TOKEN_VIEWPORT_CUSTOMLIST, "Vp" , "ICC\n"},
  34. { SKIN_TOKEN_LIST_TITLE_TEXT, "Lt" , ""},
  35. { SKIN_TOKEN_LIST_TITLE_ICON, "Li" , ""},
  36.  
  37. @@ -190,7 +190,7 @@
  38. { SKIN_TOKEN_UIVIEWPORT_LOAD, "Vi" , "sIIiii"},
  39. { SKIN_TOKEN_VIEWPORT_LOAD, "V" , "IIiii"},
  40.  
  41. - { SKIN_TOKEN_IMAGE_BACKDROP, "X" , "f"},
  42. + { SKIN_TOKEN_IMAGE_BACKDROP, "X" , "f\n"},
  43.  
  44. { SKIN_TOKEN_SETTING, "St" , "S"},
  45. { SKIN_TOKEN_TRANSLATEDSTRING, "Sx" , "S"},
  46. @@ -198,7 +198,7 @@
  47.  
  48. { SKIN_TOKEN_LASTTOUCH, "Tl" , "|S"},
  49. { SKIN_TOKEN_CURRENT_SCREEN, "cs", "" },
  50. - { SKIN_TOKEN_TOUCHREGION, "T" , "IIiiS"},
  51. + { SKIN_TOKEN_TOUCHREGION, "T" , "IIiiS\n"},
  52.  
  53. { SKIN_TOKEN_HAVE_RECORDING, "Rp" , ""},
  54. { SKIN_TOKEN_IS_RECORDING, "Rr" , ""},
  55. Index: lib/skin_parser/tag_table.h
  56. ===================================================================
  57. --- lib/skin_parser/tag_table.h (revision 27208)
  58. +++ lib/skin_parser/tag_table.h (working copy)
  59. @@ -249,6 +249,8 @@
  60. * f - Nullable file name
  61. * C - Required skin code
  62. * N - any amount of strings.. must be the last param in the list
  63. + * \n - causes the parser to eat everything up to and including the \n
  64. + * MUST be the last character of the prams string
  65. * Any nullable parameter may be replaced in the WPS file
  66. * with a '-'. To specify that parameters may be left off
  67. * altogether, place a '|' in the parameter string. For
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement