SHARE
TWEET

Untitled

a guest May 1st, 2015 254 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.             bool saved = false;
  2.    774     struct memo *memo = &memos[memos_in_memory];
  3.    775     char s_time[5];
  4.    776     char e_time[5];
  5.    777
  6.    778     if (rb->kbd_input(memo->message, MAX_CHAR_MEMO_LEN) == 0)
  7.    779     {
  8.    780         if (memo->message[0])
  9.    781         {  
  10.    782             memo->file_pointer_start = 0;
  11.    783             memo->file_pointer_end = 0;
  12.    784             memo->day = shown->mday;
  13.    785             memo->month = shown->mon;
  14.    786             memo->wday = shown->wday;
  15.    787             memo->year = shown->year;
  16.    788             memo->type = type;
  17.    789
  18.    790             rb->splash(HZ/2, "Enter start time");
  19.    791            
  20.    792             if(rb->kbd_input(s_time, 5) == 0){
  21.    793                     memo->t_start = rb->atoi(s_time);
  22.    794             }
  23.    795             rb->splash(HZ/2, "Enter end time");
  24.    796             if(rb->kbd_input(e_time, 5) == 0){
  25.    797                     memo->t_end = rb->atoi(e_time);
  26.    798             }
  27.    799             if (save_memo(memos_in_memory, true, shown))
  28.    800             {
  29.    801                 saved = true;
  30.    802             }
  31.    803             else
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top