bugXnee - Bugs: bug #63884, Typos in xnee_error.c

 
 

bug #63884: Typos in xnee_error.c

Submitter:  Ryan Carsten Schmidt <ryandesign>
Submitted:  Wed 08 Mar 2023 07:52:14 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 08 Mar 2023 07:52:14 AM UTC, original submission:  

This patch fixes typos in xnee_error.c.

There is one more typo I didn't fix because I didn't know what you meant:


    /* XNEE_SCREEN_MISSING */
    "Screen nr could not be retrieved",
    "Xnee could not find the screen of the recorded event. Report the problem",


What did you mean by "nr"? Did you mean "number"? If so, write that. It may not matter; I couldn't find anywhere that `XNEE_SCREEN_MISSING` was used in the code. Maybe this error message can just be removed.

There was also a problem with `XNEE_LAST_ERROR` in that the preceding string had not been terminated with a comma. I don't know what effect fixing this bug will have on your program so you may want to check it.

I didn't fix the typos in the enums (`XNEE_NO_PROT_CHOOSEN` should be `XNEE_NO_PROT_CHOSEN` and `XNEE_AMBIGOUS_CMD` should be `XNEE_AMBIGUOUS_CMD`) since these are in the xnee.h header so they may be part of your public API? Then again the header doesn't get installed. (Should it?)

Ryan Carsten Schmidt <ryandesign>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #54457:  xnee_error.c.patch added by ryandesign (5KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ryandesign (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-03-08 ryandesign Attached File- Added xnee_error.c.patch, #54457

    Back to the top

    Powered by Savane 3.14-f13d.
    Corresponding source code