Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bool saved = false;
- 774 struct memo *memo = &memos[memos_in_memory];
- 775 char s_time[5];
- 776 char e_time[5];
- 777
- 778 if (rb->kbd_input(memo->message, MAX_CHAR_MEMO_LEN) == 0)
- 779 {
- 780 if (memo->message[0])
- 781 {
- 782 memo->file_pointer_start = 0;
- 783 memo->file_pointer_end = 0;
- 784 memo->day = shown->mday;
- 785 memo->month = shown->mon;
- 786 memo->wday = shown->wday;
- 787 memo->year = shown->year;
- 788 memo->type = type;
- 789
- 790 rb->splash(HZ/2, "Enter start time");
- 791
- 792 if(rb->kbd_input(s_time, 5) == 0){
- 793 memo->t_start = rb->atoi(s_time);
- 794 }
- 795 rb->splash(HZ/2, "Enter end time");
- 796 if(rb->kbd_input(e_time, 5) == 0){
- 797 memo->t_end = rb->atoi(e_time);
- 798 }
- 799 if (save_memo(memos_in_memory, true, shown))
- 800 {
- 801 saved = true;
- 802 }
- 803 else
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement