Skip to content

Commit 39ccf9c

Browse files
committed
Fix a bunch of random typos.
1 parent 24fa726 commit 39ccf9c

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ if(Qt5Core_FOUND)
329329
qt5_wrap_ui(pulseview_FORMS_HEADERS ${pulseview_FORMS})
330330
qt5_add_resources(pulseview_RESOURCES_RCC ${pulseview_RESOURCES})
331331
else()
332-
# Workaroud for QTBUG-22829: -DBOOST_NEXT_PRIOR_HPP_INCLUDED.
332+
# Workaround for QTBUG-22829: -DBOOST_NEXT_PRIOR_HPP_INCLUDED.
333333
# https://bugreports.qt.io/browse/QTBUG-22829
334334
qt4_wrap_cpp(pulseview_HEADERS_MOC ${pulseview_HEADERS}
335335
OPTIONS -DBOOST_NEXT_PRIOR_HPP_INCLUDED)

main.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ int main(int argc, char *argv[])
131131
}
132132

133133
if (argc - optind > 1) {
134-
fprintf(stderr, "Only one file can be openened.\n");
134+
fprintf(stderr, "Only one file can be opened.\n");
135135
return 1;
136136
} else if (argc - optind == 1) {
137137
open_file = argv[argc - 1];

pv/session.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ void Session::feed_in_analog(shared_ptr<Analog> analog)
581581
if (iter != cur_analog_segments_.end())
582582
segment = (*iter).second;
583583
else {
584-
// If no segment was found, this means we havn't
584+
// If no segment was found, this means we haven't
585585
// created one yet. i.e. this is the first packet
586586
// in the sweep containing this segment.
587587
sweep_beginning = true;

pv/util.hpp

+5-5
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ typedef boost::multiprecision::number<
7373
* @param unit The unit of quantity.
7474
* @param sign Whether or not to add a sign also for positive numbers.
7575
*
76-
* @return The formated value.
76+
* @return The formatted value.
7777
*/
7878
QString format_time_si(
7979
const Timestamp& t,
@@ -83,9 +83,9 @@ QString format_time_si(
8383
bool sign = true);
8484

8585
/**
86-
* Wrapper around 'format_time_si()' that interpretes the given 'precision'
86+
* Wrapper around 'format_time_si()' that interprets the given 'precision'
8787
* value as the number of decimal places if the timestamp would be formatted
88-
* without a SI prefix (using 'SIPrefix::none') and adjustes the precision to
88+
* without a SI prefix (using 'SIPrefix::none') and adjusts the precision to
8989
* match the given 'prefix'
9090
*
9191
* @param t The value to format.
@@ -95,7 +95,7 @@ QString format_time_si(
9595
* @param unit The unit of quantity.
9696
* @param sign Whether or not to add a sign also for positive numbers.
9797
*
98-
* @return The formated value.
98+
* @return The formatted value.
9999
*/
100100
QString format_time_si_adjusted(
101101
const Timestamp& t,
@@ -115,7 +115,7 @@ QString format_time_si_adjusted(
115115
* @param precision The number of digits after the decimal separator.
116116
* @param sign Whether or not to add a sign also for positive numbers.
117117
*
118-
* @return The formated value.
118+
* @return The formatted value.
119119
*/
120120
QString format_time_minutes(
121121
const Timestamp& t,

test/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ endif()
149149
if(Qt5Core_FOUND)
150150
qt5_wrap_cpp(pulseview_TEST_HEADERS_MOC ${pulseview_TEST_HEADERS})
151151
else()
152-
# Workaroud for QTBUG-22829: -DBOOST_NEXT_PRIOR_HPP_INCLUDED.
152+
# Workaround for QTBUG-22829: -DBOOST_NEXT_PRIOR_HPP_INCLUDED.
153153
# https://bugreports.qt.io/browse/QTBUG-22829
154154
qt4_wrap_cpp(pulseview_TEST_HEADERS_MOC ${pulseview_TEST_HEADERS}
155155
OPTIONS -DBOOST_NEXT_PRIOR_HPP_INCLUDED)

0 commit comments

Comments
 (0)