bug-xnee
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #63884] Typos in xnee_error.c


From: Ryan Schmidt
Subject: [bug #63884] Typos in xnee_error.c
Date: Wed, 8 Mar 2023 02:52:16 -0500 (EST)

URL:
  <https://savannah.gnu.org/bugs/?63884>

                 Summary: Typos in xnee_error.c
                   Group: Xnee
               Submitter: 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
         Discussion Lock: Any


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Wed 08 Mar 2023 07:52:14 AM UTC By: Ryan Schmidt <ryandesign>
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?)







    _______________________________________________________
File Attachments:


-------------------------------------------------------
Date: Wed 08 Mar 2023 07:52:14 AM UTC  Name: xnee_error.c.patch  Size: 5KiB  
By: ryandesign

<http://savannah.gnu.org/bugs/download.php?file_id=54457>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63884>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]