Advertisement
Guest User

WSignal.C

a guest
Sep 8th, 2014
292
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.74 KB | None | 0 0
  1. diff --git src/Wt/WSignal.C src/Wt/WSignal.C
  2. index ca92d96..1486196 100644
  3. --- src/Wt/WSignal.C
  4. +++ src/Wt/WSignal.C
  5. @@ -191,17 +191,17 @@ EventSignalBase::createUserEventCall(const std::string& jsObject,
  6.        result << "','" << eventName << "'";
  7.  
  8.      if (!arg1.empty()) {
  9. -      result << "," << arg1;
  10. +      result << ",a1";
  11.        if (!arg2.empty()) {
  12. -   result << "," << arg2;
  13. +   result << ",a2";
  14.     if (!arg3.empty()) {
  15. -     result << "," << arg3;
  16. +     result << ",a3";
  17.       if (!arg4.empty()) {
  18. -       result << "," << arg4;
  19. +       result << ",a4";
  20.         if (!arg5.empty()) {
  21. -         result << "," << arg5;
  22. +         result << ",a5";
  23.           if (!arg6.empty()) {
  24. -       result << "," << arg6;
  25. +       result << ",a6";
  26.           }
  27.         }
  28.       }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement